OSDN Git Service

* include/winnt.h (INVALID_FILE_ATTRIBUTES): Fix define.
authordannysmith <dannysmith>
Wed, 1 Oct 2003 21:40:42 +0000 (21:40 +0000)
committerdannysmith <dannysmith>
Wed, 1 Oct 2003 21:40:42 +0000 (21:40 +0000)
winsup/w32api/ChangeLog
winsup/w32api/include/winnt.h

index 436b097..e069a37 100644 (file)
@@ -1,3 +1,7 @@
+2003-10-01  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * include/winnt.h (INVALID_FILE_ATTRIBUTES): Fix define.
+
 2003-09-30  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * include/winuser.h (BSF_*, BSM_*):  Sync constants defined in
index 91c5295..2818a5a 100644 (file)
@@ -208,7 +208,7 @@ typedef DWORD FLONG;
 #define GENERIC_EXECUTE        0x20000000
 #define GENERIC_ALL    0x10000000
 
-#define INVALID_FILE_ATTRIBUTES        (DWORD (-1))
+#define INVALID_FILE_ATTRIBUTES        ((DWORD)-1)
 
 /* Also in ddk/winddk.h */
 #define FILE_LIST_DIRECTORY            0x00000001