msvfw32: Replace long with LONG.

Michael Stefaniuc mstefani at redhat.de
Sun May 16 18:09:05 CDT 2010


---
 dlls/msvfw32/mciwnd.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msvfw32/mciwnd.c b/dlls/msvfw32/mciwnd.c
index 96b6420..bf23a63 100644
--- a/dlls/msvfw32/mciwnd.c
+++ b/dlls/msvfw32/mciwnd.c
@@ -48,7 +48,7 @@ typedef struct
     int         alias;
     UINT        dev_type;
     UINT        mode;
-    long        position;
+    LONG        position;
     SIZE        size; /* size of the original frame rect */
     int         zoom;
     LPWSTR      lpName;
@@ -158,7 +158,7 @@ static inline void MCIWND_notify_pos(MCIWndInfo *mwi)
 {
     if (mwi->dwStyle & MCIWNDF_NOTIFYPOS)
     {
-        long new_pos = SendMessageW(mwi->hWnd, MCIWNDM_GETPOSITIONW, 0, 0);
+        LONG new_pos = SendMessageW(mwi->hWnd, MCIWNDM_GETPOSITIONW, 0, 0);
         if (new_pos != mwi->position)
         {
             mwi->position = new_pos;
-- 
1.7.1



More information about the wine-patches mailing list