From 79f49804a4a2c241a3087d03b17dc7e81a7a0a1b Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Sun, 11 Jan 2009 00:17:14 +0100 Subject: [PATCH] include: Use LONG in vfw.h for Win64 compatibility. --- include/vfw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/vfw.h b/include/vfw.h index b3b6679ebf3..2751ef5a49c 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))