cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=440471e5996fbb3df8b1edd1e285427bd55070c7

commit 440471e5996fbb3df8b1edd1e285427bd55070c7
Author: Cedric Bail <cedric.b...@samsung.com>
Date:   Mon Nov 4 12:46:48 2013 +0900

    eet: shutup a warning and use the right pointer source even if they are the 
same.
---
 src/lib/eet/eet_lib.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c
index e32fcc0..3ad0866 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)
    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;
 

-- 


Reply via email to