From c1e2ee32b476ddf832d3c338269b7981ed31f56a Mon Sep 17 00:00:00 2001 From: orignal Date: Fri, 20 Nov 2015 12:34:53 -0500 Subject: [PATCH] fixed mingw build error --- Win32/Win32Service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;