projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07cb543
)
luci-0.9: merge r5175
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 30 Jul 2009 12:11:41 +0000
(12:11 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 30 Jul 2009 12:11:41 +0000
(12:11 +0000)
libs/lmo/src/lmo_core.c
patch
|
blob
|
history
diff --git
a/libs/lmo/src/lmo_core.c
b/libs/lmo/src/lmo_core.c
index cd117bec804824b422be1bfbe0edacd87fbfdeb7..17467f21e6e3f4597225d253c53e9dbf1930ee4f 100644
(file)
--- a/
libs/lmo/src/lmo_core.c
+++ b/
libs/lmo/src/lmo_core.c
@@
-71,7
+71,7
@@
lmo_archive_t * lmo_open(const char *file)
goto cleanup;
}
- if( lseek(in,
(off_t)(-sizeof(uint32_t)
), SEEK_END) == -1 )
+ if( lseek(in,
-sizeof(uint32_t
), SEEK_END) == -1 )
{
error("Can not seek to eof", 1);
goto cleanup;