OSDN Git Service

2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
authorironhead <ironhead>
Sat, 21 Nov 2009 09:38:55 +0000 (09:38 +0000)
committerironhead <ironhead>
Sat, 21 Nov 2009 09:38:55 +0000 (09:38 +0000)
        * include/winbase.h (UnmapViewOfFile): Correct definition.

        Thanks to Dimitry Sibiryakov for the report.

winsup/w32api/ChangeLog
winsup/w32api/include/winbase.h

index 50e91c9..3344486 100644 (file)
@@ -1,3 +1,9 @@
+2009-20-10  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>
+
+       * include/winbase.h (UnmapViewOfFile): Correct definition.
+
+       Thanks to Dimitry Sibiryakov for the report.
+
 2009-20-10  Aleksey Chernov  <virxkane@users.sourceforge.net>
 
        * include/sspi.h: Include ntsecapi.h to correct postgresql build error.
index 3e3eee1..2e634fc 100644 (file)
@@ -2013,7 +2013,7 @@ WINBASEAPI BOOL WINAPI UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
 WINBASEAPI BOOL WINAPI UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED);
 #define UnlockResource(h) (h)
 #define UnlockSegment(w) GlobalUnfix((HANDLE)(w)) /* Obsolete: Has no effect. */
-WINBASEAPI BOOL WINAPI UnmapViewOfFile(PVOID);
+WINBASEAPI BOOL WINAPI UnmapViewOfFile(LPCVOID);
 #if (_WIN32_WINNT >= 0x0500)
 WINBASEAPI BOOL WINAPI UnregisterWait(HANDLE);
 WINBASEAPI BOOL WINAPI UnregisterWaitEx(HANDLE,HANDLE);