[vlc-commits] commit: Remove useless casts ( Rémi Denis-Courmont )
    git at videolan.org 
    git at videolan.org
       
    Tue Mar  9 22:49:54 CET 2010
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar  9 23:48:46 2010 +0200| [b445a6a530a89dfcc2bf7d286c975f1c98b5ea11] | committer: Rémi Denis-Courmont 
Remove useless casts
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b445a6a530a89dfcc2bf7d286c975f1c98b5ea11
---
 modules/control/http/macro.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/control/http/macro.c b/modules/control/http/macro.c
index 1b846a9..bc96aca 100644
--- a/modules/control/http/macro.c
+++ b/modules/control/http/macro.c
@@ -889,7 +889,7 @@ void Execute( httpd_file_sys_t *p_args,
         char *p;
         int i_copy;
 
-        p = (char *)strstr( (char *)src, "<vlc" );
+        p = strstr( src, "<vlc" );
         if( p < end && p == src )
         {
             macro_t m;
    
    
More information about the vlc-commits
mailing list