Skip to content

Commit 93af298

Browse files
committed
attempt to fix c++ build error reported on Lemon, patch by LouD
git-svn-id: https://svn.code.sf.net/p/vice-emu/code/trunk@45950 379a1393-f5fb-40a0-bcee-ef074d9b53f7
1 parent dc98f7d commit 93af298

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vice/src/lib/libusbsiddrv/USBSID.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,8 @@ int USBSID_Class::LIBUSB_OpenDevice(void)
10101010
devh = libusb_open_device_with_vid_pid(ctx, VENDOR_ID, PRODUCT_ID);
10111011
if (!devh) {
10121012
rc = -1;
1013-
USBERR(stderr, "[USBSID] Error opening USB device with VID & PID: %d %s: %s\r\n", rc, libusb_error_name(rc), libusb_strerror(rc));
1013+
USBERR(stderr, "[USBSID] Error opening USB device with VID & PID: %d %s: %s\r\n",
1014+
rc, libusb_error_name(rc), libusb_strerror((enum libusb_error)rc));
10141015
}
10151016
return rc;
10161017
}

0 commit comments

Comments
 (0)