[vlc-commits] commit: Removed wrong casts in msw. (Laurent Aimar )

git at videolan.org git at videolan.org
Fri Jun 11 00:31:40 CEST 2010


vlc/vlc-1.1 | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Jun 10 21:41:25 2010 +0200| [f4bb851a4e17abb308c74f72505445f581433a5f] | committer: Jean-Baptiste Kempf 

Removed wrong casts in msw.
(cherry picked from commit 9064f47392f9bc9c48f6187219d7953cedfbd586)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/video_output/msw/events.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c
index 1945b12..a0ea596 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -387,9 +387,9 @@ static void *EventThread( void *p_this )
 
             if( pwz_title )
             {
-                SetWindowTextW( p_event->hwnd, (LPCTSTR)pwz_title );
+                SetWindowTextW( p_event->hwnd, pwz_title );
                 if( p_event->hfswnd )
-                    SetWindowTextW( p_event->hfswnd, (LPCTSTR)pwz_title );
+                    SetWindowTextW( p_event->hfswnd, pwz_title );
                 free( pwz_title );
             }
             break;



More information about the vlc-commits mailing list