some more win32k 64 bit fixes
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 28 Jul 2008 15:30:31 +0000 (15:30 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 28 Jul 2008 15:30:31 +0000 (15:30 +0000)
svn path=/branches/ros-amd64-bringup/; revision=34909

reactos/subsystems/win32/win32k/ntuser/callback.c

index fbb2f85..808db18 100644 (file)
@@ -439,7 +439,7 @@ co_IntCallHookProc(INT HookId,
                {
                   RtlCopyMemory(Extra, ClassName->Buffer, ClassName->Length);
                   CbtCreatewndExtra->Cs.lpszClass =
-                     (LPCWSTR) MAKELONG(Extra - (PCHAR) CbtCreatewndExtra, 1);
+                     (LPCWSTR)(ULONG_PTR) MAKELONG(Extra - (PCHAR) CbtCreatewndExtra, 1);
                   Extra += ClassName->Length;
                   *((WCHAR *) Extra) = L'\0';
                }
@@ -562,7 +562,7 @@ co_IntCallEventProc(HWINEVENTHOOK hook,
    IntRestoreTebWndCallback (hWnd, pWnd);
 
    IntCbFreeMemory(Argument);
-  
+
    if (!NT_SUCCESS(Status))
    {
       return 0;