diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2011-08-20 01:38:16 +0000 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2011-08-20 01:38:16 +0000 |
commit | 74604ab159782ff67e9d214e6300ab83db52363f (patch) | |
tree | 337d7ffbc302fed382fba4a8ecd22a5c592dc307 | |
parent | 1165d4442d19575a3fdfcf6024a1be6fb1a517fb (diff) | |
download | newlib-74604ab159782ff67e9d214e6300ab83db52363f.zip newlib-74604ab159782ff67e9d214e6300ab83db52363f.tar.gz newlib-74604ab159782ff67e9d214e6300ab83db52363f.tar.bz2 |
2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/sys/types.h (ssize_t): Defined as int as opposed to long.
Thanks to bvassche for the report.
-rw-r--r-- | winsup/mingw/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/mingw/include/sys/types.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index d0c6c67..0488463 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,9 @@ +2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> + + * include/sys/types.h (ssize_t): Defined as int as opposed to long. + + Thanks to bvassche for the report. + 2011-05-31 Keith Marshall <keithmarshall@users.sourceforge.net> Correct checking for short option matches in getopt_long_only(). diff --git a/winsup/mingw/include/sys/types.h b/winsup/mingw/include/sys/types.h index 82085e4..26d9125 100644 --- a/winsup/mingw/include/sys/types.h +++ b/winsup/mingw/include/sys/types.h @@ -112,7 +112,7 @@ typedef _sigset_t sigset_t; #ifndef _SSIZE_T_ #define _SSIZE_T_ -typedef long _ssize_t; +typedef int _ssize_t; #ifndef _NO_OLDNAMES typedef _ssize_t ssize_t; |