Skip to content

Commit

Permalink
Fix sygwin compilation warnings (libusb#331)
Browse files Browse the repository at this point in the history
Fixes: libusb#330
  • Loading branch information
Youw authored Sep 18, 2021
1 parent e9f8c3e commit e050afb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion windows/hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ extern "C" {
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <wctype.h>

#include "hidapi.h"

Expand Down Expand Up @@ -412,7 +413,7 @@ static void hid_internal_get_ble_info(struct hid_device_info* dev, DEVINST dev_n

static void hid_internal_get_info(struct hid_device_info* dev)
{
char *tmp = NULL;
const char *tmp = NULL;
wchar_t *interface_path = NULL, *device_id = NULL, *compatible_ids = NULL;
mbstate_t state;
ULONG len;
Expand Down

0 comments on commit e050afb

Please sign in to comment.