From 54e3a298367addf44d76e5818f363c1c702aa65d Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Tue, 12 Mar 2013 01:25:56 +0100 Subject: [PATCH] Use same parameter type as in header file. --- MemoryModule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;