git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
381904b
)
Win32: kill the Win64-induced warning
author
Rémi Denis-Courmont
<rem@videolan.org>
Thu, 8 May 2008 20:26:36 +0000
(23:26 +0300)
committer
Rémi Denis-Courmont
<rem@videolan.org>
Thu, 8 May 2008 20:26:36 +0000
(23:26 +0300)
src/misc/win32_specific.c
patch
|
blob
|
history
diff --git
a/src/misc/win32_specific.c
b/src/misc/win32_specific.c
index
eab246b
..
683337a
100644
(file)
--- a/
src/misc/win32_specific.c
+++ b/
src/misc/win32_specific.c
@@
-309,7
+309,8
@@
LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
vlc_object_t *p_this;
playlist_t *p_playlist;
- p_this = (vlc_object_t *)GetWindowLongPtr( hwnd, GWLP_USERDATA );
+ p_this = (vlc_object_t *)
+ (uintptr_t)GetWindowLongPtr( hwnd, GWLP_USERDATA );
if( !p_this ) return 0;