windows: mingw: minor gcc -pedantic warning fixes

This commit is contained in:
Justin R. Cutler
2012-03-14 18:57:40 -04:00
committed by Alan Ott
parent 69a91a8f6c
commit b5b15d0d83
+1 -1
View File
@@ -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