diff --git a/MemoryModule.c b/MemoryModule.c index 85e9859..69fdd85 100644 --- a/MemoryModule.c +++ b/MemoryModule.c @@ -439,7 +439,7 @@ error: return NULL; } -FARPROC MemoryGetProcAddress(HMEMORYMODULE module, const char *name) +FARPROC MemoryGetProcAddress(HMEMORYMODULE module, LPCSTR name) { unsigned char *codeBase = ((PMEMORYMODULE)module)->codeBase; int idx=-1;