Commit b6c325bf authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

crypt32: Cast-qual warnings fix.

parent 8e0bc11f
......@@ -253,8 +253,11 @@ BOOL WINAPI CryptInstallOIDFunctionAddress(HMODULE hModule,
func->encoding = dwEncodingType;
if (HIWORD(rgFuncEntry[i].pszOID))
{
func->entry.pszOID = (LPSTR)((LPBYTE)func + sizeof(*func));
strcpy((LPSTR)func->entry.pszOID, rgFuncEntry[i].pszOID);
LPSTR oid;
oid = (LPSTR)((LPBYTE)func + sizeof(*func));
strcpy(oid, rgFuncEntry[i].pszOID);
func->entry.pszOID = oid;
}
else
func->entry.pszOID = rgFuncEntry[i].pszOID;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment