diff options
author | Nikias Bassen | 2021-10-23 00:14:14 +0200 |
---|---|---|
committer | Nikias Bassen | 2021-10-23 00:14:14 +0200 |
commit | b65c93bc6867480302f2e44186d74a64e8215c94 (patch) | |
tree | ad13330a19aad4c7a9cad46559979ae6cebd2afc /src/libirecovery.c | |
parent | a71a544b0f1b04bc50225d76d50ec5be4ef26419 (diff) | |
download | libirecovery-b65c93bc6867480302f2e44186d74a64e8215c94.tar.gz libirecovery-b65c93bc6867480302f2e44186d74a64e8215c94.tar.bz2 |
win32: SPDRP_DRIVER device property has a hexadecimal suffix, not decimal
Diffstat (limited to 'src/libirecovery.c')
-rw-r--r-- | src/libirecovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |