Andrew Talbot : winejoystick.drv: Remove unneeded casts.

Alexandre Julliard julliard at winehq.org
Mon Feb 11 14:19:24 CST 2008


Module: wine
Branch: master
Commit: 2d90d0d400bc02c0cc242b88650e68a10d9918e7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2d90d0d400bc02c0cc242b88650e68a10d9918e7

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Fri Feb  8 21:58:40 2008 +0000

winejoystick.drv: Remove unneeded casts.

---

 dlls/winejoystick.drv/joystick.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/winejoystick.drv/joystick.c b/dlls/winejoystick.drv/joystick.c
index f8d0511..ac088da 100644
--- a/dlls/winejoystick.drv/joystick.c
+++ b/dlls/winejoystick.drv/joystick.c
@@ -403,9 +403,7 @@ static LRESULT JSTCK_GetPosEx(DWORD_PTR dwDevID, LPJOYINFOEX lpInfo)
     TRACE("x: %d, y: %d, z: %d, r: %d, u: %d, v: %d, buttons: 0x%04x, flags: 0x%04x (fd %d)\n",
 	  lpInfo->dwXpos, lpInfo->dwYpos, lpInfo->dwZpos,
 	  lpInfo->dwRpos, lpInfo->dwUpos, lpInfo->dwVpos,
-	  (unsigned int)lpInfo->dwButtons,
-	  (unsigned int)lpInfo->dwFlags,
-          dev
+	  lpInfo->dwButtons, lpInfo->dwFlags, dev
          );
 
     return JOYERR_NOERROR;




More information about the wine-cvs mailing list