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

git at videolan.org git at videolan.org
Fri Jun 11 00:24:01 CEST 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Jun 10 21:41:25 2010 +0200| [9064f47392f9bc9c48f6187219d7953cedfbd586] | committer: Laurent Aimar 

Removed wrong casts in msw.

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

 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 8af1701..dd606b2 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -425,9 +425,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