From: Kern Sibbald Date: Sat, 10 Jul 2010 12:23:31 +0000 (+0200) Subject: Tweak reduce compiler warnings X-Git-Tag: Release-5.2.1~1220 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=075e810167f7c85f0138b79bda31a5d977d5f60a;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);