forked from enlightenment/efl
eet: round above.
This commit is contained in:
parent
54b9b19b66
commit
4a4ab2bb48
|
@ -946,7 +946,7 @@ eet_internal_read2(Eet_File *ef)
|
||||||
if (eet_test_close(!ef->ed->all_hash, ef))
|
if (eet_test_close(!ef->ed->all_hash, ef))
|
||||||
return NULL;
|
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))
|
if (eet_test_close(!ef->ed->all_allocated, ef))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue