diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-03-17 04:03:43 +0300 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2003-03-17 04:03:43 +0300 |
commit | 48051a71ce6a6c8976267bf95f2b6521cd09fb65 (patch) | |
tree | 5787daa4670f7c9a047c4302d36e3d9c05cd572c /winsup/mingw/mingwex/dirent.c | |
parent | 9bd09d45f0eac74d364be5ed9aebef0c2ea48fcd (diff) |
Get rid of some warnings
* mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
* mingwex/strtoimax.c (strtoimax): Likewise.
* mingwex/wcstoimax.c (wcstoimax): Likewise.
* mingwex/wtoll.c (wtoll): Remove unnecessary ';'
* mingwex/fesentenv.c: Include float.h.
* mingwex/math/powl.c: Eliminate type punning/strict aliasing
warning.
* mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
constants.
* mingwex/math/tgammal.c: Likewise.
Diffstat (limited to 'winsup/mingw/mingwex/dirent.c')
-rw-r--r-- | winsup/mingw/mingwex/dirent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/mingw/mingwex/dirent.c b/winsup/mingw/mingwex/dirent.c index 91c170619..cdca6de35 100644 --- a/winsup/mingw/mingwex/dirent.c +++ b/winsup/mingw/mingwex/dirent.c @@ -58,7 +58,7 @@ _topendir (const _TCHAR *szPath) /* Attempt to determine if the given path really is a directory. */ rc = GetFileAttributes (szPath); - if (rc == -1) + if (rc == (unsigned int)-1) { /* call GetLastError for more error info */ errno = ENOENT; |