[vlc-commits] ntservice: fix warning on losing const attribute
    Steve Lhomme 
    git at videolan.org
       
    Mon Jul 15 09:22:36 CEST 2019
    
    
  
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jul  9 14:27:42 2019 +0200| [6add3c05520f0a81f9fe61d27eb31f1e1a1a8919] | committer: Steve Lhomme
ntservice: fix warning on losing const attribute
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6add3c05520f0a81f9fe61d27eb31f1e1a1a8919
---
 modules/control/ntservice.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/control/ntservice.c b/modules/control/ntservice.c
index d0370ffa4c..386b853a14 100644
--- a/modules/control/ntservice.c
+++ b/modules/control/ntservice.c
@@ -141,7 +141,7 @@ static void *Run( void *data )
     intf_thread_t *p_intf = data;
     SERVICE_TABLE_ENTRY dispatchTable[] =
     {
-        { TEXT(VLCSERVICENAME), &ServiceDispatch },
+        { (WCHAR*) TEXT(VLCSERVICENAME), (LPSERVICE_MAIN_FUNCTION) &ServiceDispatch },
         { NULL, NULL }
     };
 
    
    
More information about the vlc-commits
mailing list