From 31adf248af99dd4be45e9584006e55dcb80086ed Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Thu, 16 Jan 2014 20:08:22 +0900 Subject: [PATCH] suppress warnings --- src/port.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/port.c b/src/port.c index 09cebf73..45f6cfdd 100644 --- a/src/port.c +++ b/src/port.c @@ -137,7 +137,7 @@ file_write(void *cookie, const char *ptr, int size) static fpos_t file_seek(void *cookie, fpos_t pos, int whence) { - return fseek((FILE *)cookie, pos, whence); + return fseek((FILE *)cookie, (long)pos, whence); } static int