Type casting for compiling USER32. What did break it?
authorEmanuele Aliberti <ea@iol.it>
Mon, 2 Feb 2004 11:46:41 +0000 (11:46 +0000)
committerEmanuele Aliberti <ea@iol.it>
Mon, 2 Feb 2004 11:46:41 +0000 (11:46 +0000)
svn path=/trunk/; revision=7988

reactos/lib/user32/windows/window.c

index b5ef834..953322c 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: window.c,v 1.97 2004/02/02 00:18:58 rcampbell Exp $
+/* $Id: window.c,v 1.98 2004/02/02 11:46:41 ea Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS user32.dll
@@ -162,7 +162,7 @@ HWND STDCALL
 ChildWindowFromPoint(HWND hWndParent,
                     POINT Point)
 {
-  return NtUserChildWindowFromPointEx(hWndParent, Point.x, Point.y, 0);
+  return (HWND) NtUserChildWindowFromPointEx(hWndParent, Point.x, Point.y, 0);
 }
 
 
@@ -174,7 +174,7 @@ ChildWindowFromPointEx(HWND hwndParent,
                       POINT pt,
                       UINT uFlags)
 {
-  return NtUserChildWindowFromPointEx(hwndParent, pt.x, pt.y, uFlags);
+  return (HWND) NtUserChildWindowFromPointEx(hwndParent, pt.x, pt.y, uFlags);
 }