[ros-diffs] [tkreuzer] 49642: [CRT] Silence a warning

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Fri Nov 19 18:56:59 UTC 2010


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/assert.c?rev=49642&r1=49641&r2=49642&view=diff
==============================================================================
--- 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();




More information about the Ros-diffs mailing list