use const char for myGetProcAddress

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5041 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-04-09 18:01:20 +00:00
parent 32bac47b2f
commit e369347bf6
2 changed files with 2 additions and 2 deletions

View file

@ -891,7 +891,7 @@ WIN32_FIND_DATA * NSISCALL file_exists(char *buf)
return NULL;
}
void * NSISCALL myGetProcAddress(char *dll, char *func)
void * NSISCALL myGetProcAddress(const char *dll, const char *func)
{
HMODULE hModule = GetModuleHandle(dll);
if (!hModule)