From: Kern Sibbald Date: Sat, 10 Jul 2010 12:23:31 +0000 (+0200) Subject: Tweak reduce compiler warnings X-Git-Tag: Release-5.0.3~90 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e4914be01db8d26662050d04a69cc303841ef4a2;p=bacula%2Fbacula Tweak reduce compiler warnings --- diff --git a/bacula/src/win32/libwin32/service.cpp b/bacula/src/win32/libwin32/service.cpp index c34de5a610..3b9c3543a2 100644 --- a/bacula/src/win32/libwin32/service.cpp +++ b/bacula/src/win32/libwin32/service.cpp @@ -292,7 +292,7 @@ int installService(const char *cmdOpts) /* Set a text description in the service manager's control panel */ set_service_description(serviceManager, baculaService, -_("Provides file backup and restore services. Bacula -- the network backup solution.")); +(char *)_("Provides file backup and restore services. Bacula -- the network backup solution.")); CloseServiceHandle(serviceManager); CloseServiceHandle(baculaService);