Fixed casting const char* to char* in extension (#7925)

This commit is contained in:
Dedmen Miller 2020-10-03 17:26:06 +02:00 committed by GitHub
parent 8e7f9b6db5
commit 74d74ede71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ typedef struct _OBJECT_TYPE_INFORMATION
ULONG NonPagedPoolUsage; ULONG NonPagedPoolUsage;
} OBJECT_TYPE_INFORMATION, *POBJECT_TYPE_INFORMATION; } OBJECT_TYPE_INFORMATION, *POBJECT_TYPE_INFORMATION;
PVOID GetLibraryProcAddress(PSTR LibraryName, PSTR ProcName) PVOID GetLibraryProcAddress(LPCSTR LibraryName, LPCSTR ProcName)
{ {
return GetProcAddress(GetModuleHandleA(LibraryName), ProcName); return GetProcAddress(GetModuleHandleA(LibraryName), ProcName);
} }