From 7e5a0528fef739201470b5a441d98998e2bdf9d5 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Sat, 9 May 2020 16:34:14 -0700 Subject: [PATCH] fixed compiler warning --- meshcore/KVM/Windows/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshcore/KVM/Windows/input.c b/meshcore/KVM/Windows/input.c index af900f3..8b88263 100644 --- a/meshcore/KVM/Windows/input.c +++ b/meshcore/KVM/Windows/input.c @@ -294,7 +294,7 @@ DWORD WINAPI KVM_InitMessagePumpEx(LPVOID parm) KVM_PumpMessage(); DestroyWindow(CUR_HWND); CUR_HWND = NULL; - UnregisterClassA(a, GetModuleHandleA(NULL)); + UnregisterClassA((LPCSTR)a, GetModuleHandleA(NULL)); } return(0); }