From 3c56e272e1ac082eb3e246235d9d8f7a39778c87 Mon Sep 17 00:00:00 2001 From: xunil-cloud Date: Sat, 19 Oct 2024 13:35:16 +0800 Subject: [PATCH] fix MinGW errror incompatible-pointer-types --- hidapi_parser/hidapi_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hidapi_parser/hidapi_parser.c b/hidapi_parser/hidapi_parser.c index 32f9ca12..cef8d90a 100644 --- a/hidapi_parser/hidapi_parser.c +++ b/hidapi_parser/hidapi_parser.c @@ -1586,7 +1586,7 @@ void hid_parse_element_info( struct hid_dev_desc * devdesc ){ // To keep track of indices int new_index = 0; - int numColls = 0; + unsigned long numColls = 0; NTSTATUS nt_res; PHIDP_PREPARSED_DATA pp_data = NULL;