luci-0.9: merge r5175

This commit is contained in:
Jo-Philipp Wich 2009-07-30 12:11:41 +00:00
parent 07cb5432b3
commit 79fb9f138a

View file

@ -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;