summaryrefslogtreecommitdiffstats
path: root/external/firebird/msvc.patch
blob: 3f403b49609800f6ba92a861e703efadea239ec2 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/auth/trusted/AuthSspi.cpp
+++ src/auth/trusted/AuthSspi.cpp
@@ -109,7 +109,7 @@
 	  groupNames(*getDefaultMemoryPool()), sessionKey(*getDefaultMemoryPool())
 {
 	TimeStamp timeOut;
-	hasCredentials = initEntries() && (fAcquireCredentialsHandle(0, "NTLM",
+	hasCredentials = initEntries() && (fAcquireCredentialsHandle(0, const_cast<char *>("NTLM"),
 					SECPKG_CRED_BOTH, 0, 0, 0, 0,
 					&secHndl, &timeOut) == SEC_E_OK);
 }