eet: round above.

This commit is contained in:
Cedric BAIL 2013-04-04 15:12:40 +09:00
parent 54b9b19b66
commit 4a4ab2bb48
1 changed files with 1 additions and 1 deletions

View File

@ -946,7 +946,7 @@ eet_internal_read2(Eet_File *ef)
if (eet_test_close(!ef->ed->all_hash, ef))
return NULL;
ef->ed->all_allocated = calloc(1, (num_dictionary_entries >> 8) * sizeof (unsigned char));
ef->ed->all_allocated = calloc(1, ((num_dictionary_entries >> 8) + 1) * sizeof (unsigned char));
if (eet_test_close(!ef->ed->all_allocated, ef))
return NULL;