diff options
Diffstat (limited to '')
-rw-r--r-- | src/rq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -268,7 +268,7 @@ static int load_file(int fd) for (s = buffer; *s; s = end + 1) { if (word_count == size) { size = size ? (size << 1) : 512; - new = realloc(words, size * sizeof(char*)); + new = realloc(words, size * sizeof(*words)); t (new == NULL); words = new; } |