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 cb7aa8f..8e6d91b 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 );
                   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 );
 
     /* Signal the creation of the thread and events queue */
     vlc_thread_ready( p_this );