[vlc-devel] commit: Use GetWindowLongPtr instead of GetWindowLong to be Win64 compatible and to avoid a warning :D (Jean-Baptiste Kempf )
Andre Weber
WeberAndre at gmx.de
Sun Mar 9 18:53:52 CET 2008
I hope the value is also set with "SetWindowLongPtr" - before getting it with getWindowLongPtr?
Atmo
----- Original Message -----
From: "git version control" <git at videolan.org>
To: <vlc-devel at videolan.org>
Sent: Sunday, March 09, 2008 6:18 PM
Subject: [vlc-devel] commit: Use GetWindowLongPtr instead of GetWindowLong to be Win64 compatible and to avoid a warning
:D (Jean-Baptiste Kempf )
> vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Mar 9 09:17:58 2008 -0700|
[1b3187cc1041d2e2d07390a4ddaade28187fcb8b]
>
> Use GetWindowLongPtr instead of GetWindowLong to be Win64 compatible and to avoid a warning :D
>
> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1b3187cc1041d2e2d07390a4ddaade28187fcb8b
> ---
>
> 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 2fc5d2d..cb7aa8f 100644
> --- a/src/misc/win32_specific.c
> +++ b/src/misc/win32_specific.c
> @@ -309,7 +309,7 @@ LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
> vlc_object_t *p_this;
> playlist_t *p_playlist;
>
> - p_this = (vlc_object_t *)GetWindowLong( hwnd, GWL_USERDATA );
> + p_this = (vlc_object_t *)GetWindowLongPtr( hwnd, GWL_USERDATA );
>
> if( !p_this ) return 0;
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list