From 07c60df9ae41e464db95e085fd26ddc00abeeb66 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 22 Nov 2011 00:55:18 +0100 Subject: [PATCH] include: Fix "l" numeric constants in winbase.h. --- include/winbase.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/include/winbase.h b/include/winbase.h index c84c1f1f8ab..6ec92302285 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -698,15 +698,15 @@ typedef struct _TIME_ZONE_INFORMATION{ /* File creation flags */ -#define FILE_FLAG_WRITE_THROUGH 0x80000000UL -#define FILE_FLAG_OVERLAPPED 0x40000000L -#define FILE_FLAG_NO_BUFFERING 0x20000000L -#define FILE_FLAG_RANDOM_ACCESS 0x10000000L -#define FILE_FLAG_SEQUENTIAL_SCAN 0x08000000L -#define FILE_FLAG_DELETE_ON_CLOSE 0x04000000L -#define FILE_FLAG_BACKUP_SEMANTICS 0x02000000L -#define FILE_FLAG_POSIX_SEMANTICS 0x01000000L -#define FILE_FLAG_OPEN_REPARSE_POINT 0x00200000L +#define FILE_FLAG_WRITE_THROUGH 0x80000000 +#define FILE_FLAG_OVERLAPPED 0x40000000 +#define FILE_FLAG_NO_BUFFERING 0x20000000 +#define FILE_FLAG_RANDOM_ACCESS 0x10000000 +#define FILE_FLAG_SEQUENTIAL_SCAN 0x08000000 +#define FILE_FLAG_DELETE_ON_CLOSE 0x04000000 +#define FILE_FLAG_BACKUP_SEMANTICS 0x02000000 +#define FILE_FLAG_POSIX_SEMANTICS 0x01000000 +#define FILE_FLAG_OPEN_REPARSE_POINT 0x00200000 #define CREATE_NEW 1 #define CREATE_ALWAYS 2 #define OPEN_EXISTING 3 @@ -1671,7 +1671,7 @@ WINBASEAPI DWORD WINAPI GetFileSize(HANDLE,LPDWORD); WINBASEAPI BOOL WINAPI GetFileSizeEx(HANDLE,PLARGE_INTEGER); WINBASEAPI BOOL WINAPI GetFileTime(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME); WINBASEAPI DWORD WINAPI GetFileType(HANDLE); -#define GetFreeSpace(w) (0x100000L) +#define GetFreeSpace(w) (__MSABI_LONG(0x100000)) WINBASEAPI DWORD WINAPI GetFullPathNameA(LPCSTR,DWORD,LPSTR,LPSTR*); WINBASEAPI DWORD WINAPI GetFullPathNameW(LPCWSTR,DWORD,LPWSTR,LPWSTR*); #define GetFullPathName WINELIB_NAME_AW(GetFullPathName)