We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9f8c3e commit e050afbCopy full SHA for e050afb
windows/hid.c
@@ -70,6 +70,7 @@ extern "C" {
70
#include <stdio.h>
71
#include <stdlib.h>
72
#include <string.h>
73
+#include <wctype.h>
74
75
#include "hidapi.h"
76
@@ -412,7 +413,7 @@ static void hid_internal_get_ble_info(struct hid_device_info* dev, DEVINST dev_n
412
413
414
static void hid_internal_get_info(struct hid_device_info* dev)
415
{
- char *tmp = NULL;
416
+ const char *tmp = NULL;
417
wchar_t *interface_path = NULL, *device_id = NULL, *compatible_ids = NULL;
418
mbstate_t state;
419
ULONG len;
0 commit comments