diff options
| author | 2021-10-23 00:14:14 +0200 | |
|---|---|---|
| committer | 2021-10-23 00:14:14 +0200 | |
| commit | b65c93bc6867480302f2e44186d74a64e8215c94 (patch) | |
| tree | ad13330a19aad4c7a9cad46559979ae6cebd2afc | |
| parent | a71a544b0f1b04bc50225d76d50ec5be4ef26419 (diff) | |
| download | libirecovery-b65c93bc6867480302f2e44186d74a64e8215c94.tar.gz libirecovery-b65c93bc6867480302f2e44186d74a64e8215c94.tar.bz2 | |
win32: SPDRP_DRIVER device property has a hexadecimal suffix, not decimal
| -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) | |||
| 2207 | free(details); | 2207 | free(details); |
| 2208 | continue; | 2208 | continue; |
| 2209 | } | 2209 | } |
| 2210 | uint32_t location = strtoul(p+1, NULL, 10); | 2210 | uint32_t location = strtoul(p+1, NULL, 16); |
| 2211 | int found = 0; | 2211 | int found = 0; |
| 2212 | 2212 | ||
| 2213 | FOREACH(struct irecv_usb_device_info *devinfo, &devices) { | 2213 | FOREACH(struct irecv_usb_device_info *devinfo, &devices) { |
