Author: tkreuzer Date: Fri Nov 19 18:56:58 2010 New Revision: 49642
URL: http://svn.reactos.org/svn/reactos?rev=49642&view=rev Log: [CRT] Silence a warning
Modified: branches/cmake-bringup/lib/sdk/crt/misc/assert.c
Modified: branches/cmake-bringup/lib/sdk/crt/misc/assert.c URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/sdk/crt/misc/a... ============================================================================== --- branches/cmake-bringup/lib/sdk/crt/misc/assert.c [iso-8859-1] (original) +++ branches/cmake-bringup/lib/sdk/crt/misc/assert.c [iso-8859-1] Fri Nov 19 18:56:58 2010 @@ -32,7 +32,7 @@
/* Get MessageBoxA function pointer */ hmodUser32 = LoadLibrary("user32.dll"); - pMessageBoxA = GetProcAddress(hmodUser32, "MessageBoxA"); + pMessageBoxA = (PVOID)GetProcAddress(hmodUser32, "MessageBoxA"); if (!pMessageBoxA) { abort();