projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
613947a
)
eet: shutup a warning and use the right pointer source even if they are the same.
author
Cedric Bail
<cedric.bail@samsung.com>
Mon, 4 Nov 2013 03:46:48 +0000
(12:46 +0900)
committer
Cedric Bail
<cedric.bail@samsung.com>
Mon, 4 Nov 2013 03:46:48 +0000
(12:46 +0900)
src/lib/eet/eet_lib.c
patch
|
blob
|
history
diff --git
a/src/lib/eet/eet_lib.c
b/src/lib/eet/eet_lib.c
index
e32fcc0
..
3ad0866
100644
(file)
--- 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;