From: Christopher Faylor Date: Tue, 4 Sep 2001 18:19:33 +0000 (+0000) Subject: * winbase.h: Add missing closing parentheses to InterlockedExchangePointer X-Git-Tag: Z-cygwin_daemon_merge-new_HEAD~169 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=fb7369b5159e73fce10a0cc52c1c3b6dfba5f07d;p=newlib-cygwin.git * winbase.h: Add missing closing parentheses to InterlockedExchangePointer declaration. --- diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index de11d4b02..98768fba4 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,8 @@ +Tue Sep 4 14:15:59 2001 Christopher Faylor + + * winbase.h: Add missing closing parentheses to + InterlockedExchangePointer declaration. + 2001-09-01 Danny Smith * include/shlobj.h (CFSTR_* ): Add new defines. diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h index 86917e5f0..2892fd5fa 100644 --- a/winsup/w32api/include/winbase.h +++ b/winsup/w32api/include/winbase.h @@ -1319,7 +1319,7 @@ LONG WINAPI InterlockedDecrement(LPLONG); LONG WINAPI InterlockedExchange(LPLONG,LONG); /* PVOID WINAPI InterlockedExchangePointer(PVOID*,PVOID); */ #define InterlockedExchangePointer(t,v) \ - (PVOID)InterlockedExchange((LPLONG)(t),(LONG)(v) + (PVOID)InterlockedExchange((LPLONG)(t),(LONG)(v)) LONG WINAPI InterlockedExchangeAdd(PLONG,LONG); LONG WINAPI InterlockedIncrement(LPLONG); BOOL WINAPI IsBadCodePtr(FARPROC);