diff options
author | Cedric Bail <cedric.bail@samsung.com> | 2013-11-04 12:46:48 +0900 |
---|---|---|
committer | Cedric Bail <cedric.bail@samsung.com> | 2013-11-04 12:46:48 +0900 |
commit | 440471e5996fbb3df8b1edd1e285427bd55070c7 (patch) | |
tree | 8992d2151b2b42151ac265c9e6fd2e7e96af8923 /src | |
parent | 613947ac0df4205e197e0e129ff96f5cb83c707e (diff) |
eet: shutup a warning and use the right pointer source even if they are the same.
Diffstat (limited to '')
-rw-r--r-- | src/lib/eet/eet_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c index e32fcc06fe..3ad086634a 100644 --- a/src/lib/eet/eet_lib.c +++ b/src/lib/eet/eet_lib.c | |||
@@ -1477,8 +1477,8 @@ eet_mmap(const Eina_File *file) | |||
1477 | ef->sha1_length = 0; | 1477 | ef->sha1_length = 0; |
1478 | ef->readfp_owned = EINA_TRUE; | 1478 | ef->readfp_owned = EINA_TRUE; |
1479 | 1479 | ||
1480 | ef->data_size = eina_file_size_get(file); | 1480 | ef->data_size = eina_file_size_get(ef->readfp); |
1481 | ef->data = eina_file_map_all(file, EINA_FILE_SEQUENTIAL); | 1481 | ef->data = eina_file_map_all(ef->readfp, EINA_FILE_SEQUENTIAL); |
1482 | if (eet_test_close((ef->data == NULL), ef)) | 1482 | if (eet_test_close((ef->data == NULL), ef)) |
1483 | goto on_error; | 1483 | goto on_error; |
1484 | 1484 | ||