diff --git a/channels/urbdrc/client/urbdrc_main.c b/channels/urbdrc/client/urbdrc_main.c index 2da59c454..722132758 100644 --- a/channels/urbdrc/client/urbdrc_main.c +++ b/channels/urbdrc/client/urbdrc_main.c @@ -885,12 +885,12 @@ static void* urbdrc_search_usb_device(void* arg) continue; } - busnum = strtol(udev_device_get_property_value(dev, "BUSNUM"), NULL, 0); + busnum = strtol(udev_device_get_property_value(dev, "BUSNUM"), NULL, 10); if (errno != 0) continue; - devnum = strtol(udev_device_get_property_value(dev, "DEVNUM"), NULL, 0); + devnum = strtol(udev_device_get_property_value(dev, "DEVNUM"), NULL, 10); if (errno != 0) continue;