[vlc-devel] commit: Windows compile fix. (Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Mar 9 21:03:01 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Mar  9 12:29:52 2008 -0700| [0f234aafbef405e2be5b59aa72899378f47d7377]

Windows compile fix.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0f234aafbef405e2be5b59aa72899378f47d7377
---

 src/misc/win32_specific.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/misc/win32_specific.c b/src/misc/win32_specific.c
index cb7aa8f..8e6d91b 100644
--- a/src/misc/win32_specific.c
+++ b/src/misc/win32_specific.c
@@ -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 );




More information about the vlc-devel mailing list