]> git.sesse.net Git - vlc/commitdiff
Windows compile fix.
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 9 Mar 2008 19:29:52 +0000 (12:29 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 9 Mar 2008 20:03:11 +0000 (13:03 -0700)
src/misc/win32_specific.c

index cb7aa8ff1f31adfad47ff22cdc87a7ad1025eb10..8e6d91b58b1721131269bbee14db167985216863 100644 (file)
@@ -288,7 +288,7 @@ static void IPCHelperThread( vlc_object_t *p_this )
                   NULL );                               /* sent to WM_CREATE */
 
     SetWindowLong( ipcwindow, GWL_WNDPROC, (LONG)WMCOPYWNDPROC );
-    SetWindowLong( ipcwindow, GWL_USERDATA, (LONG)p_this );
+    SetWindowLongPtr( ipcwindow, GWL_USERDATA, (LONG_PTR)p_this );
 
     /* Signal the creation of the thread and events queue */
     vlc_thread_ready( p_this );