From b65c93bc6867480302f2e44186d74a64e8215c94 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 23 Oct 2021 00:14:14 +0200 Subject: win32: SPDRP_DRIVER device property has a hexadecimal suffix, not decimal --- src/libirecovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libirecovery.c b/src/libirecovery.c index df7b945..58a6620 100644 --- a/src/libirecovery.c +++ b/src/libirecovery.c @@ -2207,7 +2207,7 @@ static void *_irecv_event_handler(void* data) free(details); continue; } - uint32_t location = strtoul(p+1, NULL, 10); + uint32_t location = strtoul(p+1, NULL, 16); int found = 0; FOREACH(struct irecv_usb_device_info *devinfo, &devices) { -- cgit v1.1-32-gdbae