[vlc-devel] [PATCH] ntservice: fix warning on losing const attribute
Steve Lhomme
robux4 at ycbcr.xyz
Tue Jul 9 14:32:16 CEST 2019
---
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 d0370ffa4ca..793c0a6d0eb 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 },
+ { (TCHAR*) TEXT(VLCSERVICENAME), (LPSERVICE_MAIN_FUNCTION) &ServiceDispatch },
{ NULL, NULL }
};
--
2.17.1
More information about the vlc-devel
mailing list