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:
parent
32bac47b2f
commit
e369347bf6
2 changed files with 2 additions and 2 deletions
|
@ -891,7 +891,7 @@ WIN32_FIND_DATA * NSISCALL file_exists(char *buf)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void * NSISCALL myGetProcAddress(char *dll, char *func)
|
void * NSISCALL myGetProcAddress(const char *dll, const char *func)
|
||||||
{
|
{
|
||||||
HMODULE hModule = GetModuleHandle(dll);
|
HMODULE hModule = GetModuleHandle(dll);
|
||||||
if (!hModule)
|
if (!hModule)
|
||||||
|
|
|
@ -91,7 +91,7 @@ void NSISCALL MoveFileOnReboot(LPCTSTR pszExisting, LPCTSTR pszNew);
|
||||||
void NSISCALL mini_memcpy(void *out, const void *in, int len);
|
void NSISCALL mini_memcpy(void *out, const void *in, int len);
|
||||||
void NSISCALL remove_ro_attr(char *file);
|
void NSISCALL remove_ro_attr(char *file);
|
||||||
|
|
||||||
void * NSISCALL myGetProcAddress(char *dll, char *func);
|
void * NSISCALL myGetProcAddress(const char *dll, const char *func);
|
||||||
void NSISCALL MessageLoop(UINT uCheckedMsg);
|
void NSISCALL MessageLoop(UINT uCheckedMsg);
|
||||||
|
|
||||||
// Turn a pair of chars into a word
|
// Turn a pair of chars into a word
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue