Merge pull request #84 from stinny/patch-2
Fix compilation error on MSVC2015.
This commit is contained in:
commit
ccb73ad80e
|
@ -56,7 +56,7 @@ void WritePasswordJobPrivate::scheduledStart() {
|
|||
LPWSTR name = (LPWSTR)key.utf16();
|
||||
|
||||
memset(&cred, 0, sizeof(cred));
|
||||
cred.Comment = L"QtKeychain";
|
||||
cred.Comment = const_cast<wchar_t*>(L"QtKeychain");
|
||||
cred.Type = CRED_TYPE_GENERIC;
|
||||
cred.TargetName = name;
|
||||
cred.CredentialBlobSize = data.size();
|
||||
|
|
Loading…
Reference in New Issue