Michael Stefaniuc : include: Use LONG in vfw.h for Win64 compatibility.

Alexandre Julliard julliard at winehq.org
Mon Jan 12 10:40:37 CST 2009


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Sun Jan 11 00:17:14 2009 +0100

include: Use LONG in vfw.h for Win64 compatibility.

---

 include/vfw.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vfw.h b/include/vfw.h
index b3b6679..2751ef5 100644
--- a/include/vfw.h
+++ b/include/vfw.h
@@ -1419,7 +1419,7 @@ HWND VFWAPIV MCIWndCreateW(HWND, HINSTANCE, DWORD, LPCWSTR);
 #define MCIWndGetLength(hWnd)       (LONG)MCIWndSM(hWnd,MCIWNDM_GETLENGTH,0,0)
 #define MCIWndGetEnd(hWnd)          (LONG)MCIWndSM(hWnd,MCIWNDM_GETEND,0,0)
 
-#define MCIWndStep(hWnd,n)          (LONG)MCIWndSM(hWnd,MCI_STEP,0,(LPARAM)(long)(n))
+#define MCIWndStep(hWnd,n)          (LONG)MCIWndSM(hWnd,MCI_STEP,0,(LPARAM)(LONG)(n))
 
 #define MCIWndDestroy(hWnd)         (VOID)MCIWndSM(hWnd,WM_CLOSE,0,0)
 #define MCIWndSetZoom(hWnd,iZoom)   (VOID)MCIWndSM(hWnd,MCIWNDM_SETZOOM,0,(LPARAM)(UINT)(iZoom))




More information about the wine-cvs mailing list