diff options
Diffstat (limited to 'src/controllers/bulk/bulkenumerator.cpp')
-rw-r--r-- | src/controllers/bulk/bulkenumerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controllers/bulk/bulkenumerator.cpp b/src/controllers/bulk/bulkenumerator.cpp index 3634b74bb2..93874bd9b2 100644 --- a/src/controllers/bulk/bulkenumerator.cpp +++ b/src/controllers/bulk/bulkenumerator.cpp @@ -42,7 +42,7 @@ QList<Controller*> BulkEnumerator::queryDevices() { libusb_get_device_descriptor(device, &desc); if (is_interesting(&desc)) { - struct libusb_device_handle *handle = NULL; + struct libusb_device_handle* handle = nullptr; err = libusb_open(device, &handle); if (err) { qWarning() << "Error opening a device"; |