From 8859a7a0b5d2e549800ebdce5712e285a2861e3d Mon Sep 17 00:00:00 2001 From: Steve Hay Date: Fri, 22 Jul 2005 10:29:51 +0000 Subject: [PATCH] Silence Win32 warnings when not using USE_LARGE_FILES p4raw-id: //depot/perl@25211 --- win32/win32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/win32/win32.c b/win32/win32.c index 86bf44e..6cbc08a 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -2642,7 +2642,7 @@ win32_fseek(FILE *pf, Off_t offset,int origin) return fsetpos(pf, &offset); #endif #else - return fseek(pf, offset, origin); + return fseek(pf, (long)offset, origin); #endif } @@ -3192,7 +3192,7 @@ finish: win32_lseek(fd, cur, SEEK_SET); return retval; #else - return chsize(fd, size); + return chsize(fd, (long)size); #endif } @@ -3218,7 +3218,7 @@ win32_lseek(int fd, Off_t offset, int origin) return _lseeki64(fd, offset, origin); #endif #else - return lseek(fd, offset, origin); + return lseek(fd, (long)offset, origin); #endif } -- 2.7.4