diff --git a/Win32/Win32Service.cpp b/Win32/Win32Service.cpp index e5abc72a..bf7794e8 100644 --- a/Win32/Win32Service.cpp +++ b/Win32/Win32Service.cpp @@ -76,7 +76,7 @@ I2PService::I2PService(PSTR pszServiceName, BOOL fCanShutdown, BOOL fCanPauseContinue) { - m_name = (pszServiceName == NULL) ? "" : pszServiceName; + m_name = (pszServiceName == NULL) ? (PSTR)"" : pszServiceName; m_statusHandle = NULL;