From b5b15d0d83d54f003ee2fabec449d785b652fac5 Mon Sep 17 00:00:00 2001 From: "Justin R. Cutler" Date: Wed, 14 Mar 2012 18:57:40 -0400 Subject: [PATCH] windows: mingw: minor gcc -pedantic warning fixes --- windows/hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/hid.c b/windows/hid.c index 0b26bf9..a8cff54 100755 --- a/windows/hid.c +++ b/windows/hid.c @@ -162,7 +162,7 @@ static void register_error(hid_device *device, const char *op) NULL, GetLastError(), MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), - (LPWSTR)&msg, 0/*sz*/, + (LPVOID)&msg, 0/*sz*/, NULL); /* Get rid of the CR and LF that FormatMessage() sticks at the