mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed casting const char* to char* in extension (#7925)
This commit is contained in:
parent
8e7f9b6db5
commit
74d74ede71
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user