Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/mingwex/dirent.c')
-rw-r--r--winsup/mingw/mingwex/dirent.c2
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;