From 4c9f0d3547cb07846d7512ec670407ad5430dd57 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Mon, 17 Jan 2005 05:03:17 +0000 Subject: [PATCH] * include/sys/stat.h (struct __stat64): Change st_size type to __int64. * include/wchar.h (struct __stat64): Change st_size type to __int64. --- winsup/mingw/ChangeLog | 6 ++++++ winsup/mingw/include/sys/stat.h | 2 +- winsup/mingw/include/wchar.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 380deda90..9d7d2b301 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,9 @@ +2005-01-17 Danny Smith + + * include/sys/stat.h (struct __stat64): Change st_size type to + __int64. + * include/wchar.h (struct __stat64): Change st_size type to __int64. + 2005-01-13 Earnie Boyd * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat, diff --git a/winsup/mingw/include/sys/stat.h b/winsup/mingw/include/sys/stat.h index 9814e3d24..03d02fc2c 100644 --- a/winsup/mingw/include/sys/stat.h +++ b/winsup/mingw/include/sys/stat.h @@ -141,7 +141,7 @@ struct __stat64 short st_uid; short st_gid; _dev_t st_rdev; - _off_t st_size; + __int64 st_size; __time64_t st_atime; __time64_t st_mtime; __time64_t st_ctime; diff --git a/winsup/mingw/include/wchar.h b/winsup/mingw/include/wchar.h index fd6af1299..a37750854 100644 --- a/winsup/mingw/include/wchar.h +++ b/winsup/mingw/include/wchar.h @@ -426,7 +426,7 @@ struct __stat64 short st_uid; short st_gid; _dev_t st_rdev; - _off_t st_size; + __int64 st_size; __time64_t st_atime; __time64_t st_mtime; __time64_t st_ctime;