aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup.h b/lib/setup.h
index c1f7135e5..864896118 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -292,7 +292,7 @@
# include <io.h>
# include <sys/types.h>
# include <sys/stat.h>
-# define lseek(fdes,offset,whence) _lseek(fdes, offset, whence)
+# define lseek(fdes,offset,whence) _lseek(fdes, (long)offset, whence)
# define fstat(fdes,stp) _fstat(fdes, stp)
# define stat(fname,stp) _stat(fname, stp)
# define struct_stat struct _stat