From 74d74ede71da2b2ed207ea7602fab5dd9ab57507 Mon Sep 17 00:00:00 2001 From: Dedmen Miller Date: Sat, 3 Oct 2020 17:26:06 +0200 Subject: [PATCH] Fixed casting const char* to char* in extension (#7925) --- extensions/common/pbo/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/common/pbo/search.cpp b/extensions/common/pbo/search.cpp index 3b9ebfe18b..d4e3ef53b0 100644 --- a/extensions/common/pbo/search.cpp +++ b/extensions/common/pbo/search.cpp @@ -97,7 +97,7 @@ typedef struct _OBJECT_TYPE_INFORMATION ULONG NonPagedPoolUsage; } OBJECT_TYPE_INFORMATION, *POBJECT_TYPE_INFORMATION; -PVOID GetLibraryProcAddress(PSTR LibraryName, PSTR ProcName) +PVOID GetLibraryProcAddress(LPCSTR LibraryName, LPCSTR ProcName) { return GetProcAddress(GetModuleHandleA(LibraryName), ProcName); }