kadmin: read_words pass correct type to sizeof
(char *) not (char **). Change-Id: I2c34fa5b0ea9f81b08451ed1b4a816684b7ab638
This commit is contained in:
		| @@ -58,7 +58,7 @@ read_words (const char *filename, char ***ret_w) | ||||
| 	buf[strcspn(buf, "\r\n")] = '\0'; | ||||
| 	if (n >= alloc) { | ||||
| 	    alloc = max(alloc + 16, alloc * 2); | ||||
| 	    w = erealloc (w, alloc * sizeof(char **)); | ||||
| 	    w = erealloc (w, alloc * sizeof(char *)); | ||||
| 	} | ||||
| 	len = strlen(buf); | ||||
| 	if (wptr + len + 1 >= wend) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jeffrey Altman
					Jeffrey Altman