secur32: Cast-qual warning fix.

This commit is contained in:
Andrew Talbot 2006-11-13 20:27:35 +00:00 committed by Alexandre Julliard
parent 5319668a30
commit fde63f9742
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ void SECUR32_CalcNTLMv2Subkey(PBYTE session_key, const char *magic, PBYTE subkey
MD5Init(&ctx);
MD5Update(&ctx, session_key, 16);
MD5Update(&ctx, (unsigned char*)magic, lstrlenA(magic)+1);
MD5Update(&ctx, (const unsigned char*)magic, lstrlenA(magic)+1);
MD5Final(&ctx);
memcpy(subkey, ctx.digest, 16);
}