forked from enlightenment/efl
eet: shutup a warning and use the right pointer source even if they are the same.
This commit is contained in:
parent
613947ac0d
commit
440471e599
|
@ -1477,8 +1477,8 @@ eet_mmap(const Eina_File *file)
|
|||
ef->sha1_length = 0;
|
||||
ef->readfp_owned = EINA_TRUE;
|
||||
|
||||
ef->data_size = eina_file_size_get(file);
|
||||
ef->data = eina_file_map_all(file, EINA_FILE_SEQUENTIAL);
|
||||
ef->data_size = eina_file_size_get(ef->readfp);
|
||||
ef->data = eina_file_map_all(ef->readfp, EINA_FILE_SEQUENTIAL);
|
||||
if (eet_test_close((ef->data == NULL), ef))
|
||||
goto on_error;
|
||||
|
||||
|
|
Loading…
Reference in New Issue