summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2005-07-22 10:29:51 +0000
committerSteve Hay <SteveHay@planit.com>2005-07-22 10:29:51 +0000
commit8859a7a0b5d2e549800ebdce5712e285a2861e3d (patch)
tree35cb211c3268ab342c5f6758c8385808a2d8339a /win32
parent40dfc4d2dab16698876f0aab2660c119fdee3aa9 (diff)
downloadperl-8859a7a0b5d2e549800ebdce5712e285a2861e3d.tar.gz
Silence Win32 warnings when not using USE_LARGE_FILES
p4raw-id: //depot/perl@25211
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 86bf44ec40..6cbc08a2a2 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
}