Author: sserapion
Date: Thu Oct 29 23:44:55 2009
New Revision: 43839
URL:
http://svn.reactos.org/svn/reactos?rev=43839&view=rev
Log:
Fix Build.
Modified:
branches/ros-amd64-bringup/reactos/dll/directx/d3d9/d3d9_device.c
branches/ros-amd64-bringup/reactos/dll/directx/ddraw/Surface/callbacks_surf_hel.c
Modified: branches/ros-amd64-bringup/reactos/dll/directx/d3d9/d3d9_device.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/dll/d…
==============================================================================
--- branches/ros-amd64-bringup/reactos/dll/directx/d3d9/d3d9_device.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/dll/directx/d3d9/d3d9_device.c [iso-8859-1] Thu Oct
29 23:44:55 2009
@@ -26,7 +26,7 @@
static HRESULT InvalidCall(LPDIRECT3DDEVICE9_INT This, LPSTR ErrorMsg)
{
- DPRINT1(ErrorMsg);
+ DPRINT1("%s",ErrorMsg);
UNLOCK_D3DDEVICE9();
return D3DERR_INVALIDCALL;
}
Modified:
branches/ros-amd64-bringup/reactos/dll/directx/ddraw/Surface/callbacks_surf_hel.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/dll/d…
==============================================================================
--- branches/ros-amd64-bringup/reactos/dll/directx/ddraw/Surface/callbacks_surf_hel.c
[iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/dll/directx/ddraw/Surface/callbacks_surf_hel.c
[iso-8859-1] Thu Oct 29 23:44:55 2009
@@ -84,7 +84,7 @@
/* Get our hdc for the active window */
- hDC = GetDC(lpLockData->lpDDSurface->lpSurfMore->lpDD_lcl->hFocusWnd);
+ hDC =
GetDC((HWND)lpLockData->lpDDSurface->lpSurfMore->lpDD_lcl->hFocusWnd);
if (hDC != NULL)
{
@@ -200,7 +200,7 @@
DX_WINDBG_trace();
/* Get our hdc for the active window */
- hDC = GetDC(lpUnLockData->lpDDSurface->lpSurfMore->lpDD_lcl->hFocusWnd);
+ hDC =
GetDC((HWND)lpUnLockData->lpDDSurface->lpSurfMore->lpDD_lcl->hFocusWnd);
if (hDC != NULL)
{