libs/lmo: remove cast in first lseek(), not needed since it's a constant expression

This commit is contained in:
Jo-Philipp Wich 2009-07-30 12:11:08 +00:00
parent 1172027f5a
commit 12400496cc

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;