From 82f8738b16ce00bbb1106a34c8a16f5e2832ee64 Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Wed, 22 Aug 2007 02:17:07 +0000 Subject: [PATCH] (mode_t) [_WIN32]: Switch to unsigned short to match the declaration in the MinGW for mode_t. --- src/lib/w32/w32misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/w32/w32misc.h b/src/lib/w32/w32misc.h index d54d1738..35481b3b 100644 --- a/src/lib/w32/w32misc.h +++ b/src/lib/w32/w32misc.h @@ -52,7 +52,7 @@ #define srandom srand /* sys/types.h */ -typedef int mode_t; +typedef unsigned short mode_t; typedef long off_t; typedef int pid_t; typedef long ssize_t;