crypt32: Cast-qual warnings fix.
This commit is contained in:
parent
8e0bc11f72
commit
b6c325bfc0
|
@ -253,8 +253,11 @@ BOOL WINAPI CryptInstallOIDFunctionAddress(HMODULE hModule,
|
||||||
func->encoding = dwEncodingType;
|
func->encoding = dwEncodingType;
|
||||||
if (HIWORD(rgFuncEntry[i].pszOID))
|
if (HIWORD(rgFuncEntry[i].pszOID))
|
||||||
{
|
{
|
||||||
func->entry.pszOID = (LPSTR)((LPBYTE)func + sizeof(*func));
|
LPSTR oid;
|
||||||
strcpy((LPSTR)func->entry.pszOID, rgFuncEntry[i].pszOID);
|
|
||||||
|
oid = (LPSTR)((LPBYTE)func + sizeof(*func));
|
||||||
|
strcpy(oid, rgFuncEntry[i].pszOID);
|
||||||
|
func->entry.pszOID = oid;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
func->entry.pszOID = rgFuncEntry[i].pszOID;
|
func->entry.pszOID = rgFuncEntry[i].pszOID;
|
||||||
|
|
Loading…
Reference in New Issue