From 79fb9f138ae2ac9dc1371991fa085c2c992853a6 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 30 Jul 2009 12:11:41 +0000 Subject: [PATCH] luci-0.9: merge r5175 --- libs/lmo/src/lmo_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/lmo/src/lmo_core.c b/libs/lmo/src/lmo_core.c index cd117bec80..17467f21e6 100644 --- 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; -- 2.30.2