Skip to content

Commit

Permalink
Fixed casting const char* to char* in extension (#7925)
Browse files Browse the repository at this point in the history
  • Loading branch information
dedmen authored Oct 3, 2020
1 parent 8e7f9b6 commit 74d74ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/common/pbo/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 74d74ed

Please sign in to comment.