luci-0.9: merge r5175
This commit is contained in:
parent
07cb5432b3
commit
79fb9f138a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue