From f836ae466cad7289a5d06afd5679f7c64b78c408 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Tue, 14 Apr 2020 15:04:45 +0200 Subject: [PATCH] remove Windows compiler warning --- require.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/require.c b/require.c index 2ea152d..aa5d770 100644 --- a/require.c +++ b/require.c @@ -308,7 +308,7 @@ static HMODULE loadlib(const char* libname) SetDllDirectory(libpath); if ((libhandle = LoadLibrary(libname)) == NULL) { - LPVOID lpMsgBuf; + LPSTR lpMsgBuf; FormatMessage( FORMAT_MESSAGE_ALLOCATE_BUFFER |