From 2d83e0f963b39104ba065c61ef22456adcf15a8d Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 28 Dec 2011 23:11:52 +0100 Subject: [PATCH] Fix outdated ezusb_install_firmware() prototype. --- sigrok-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigrok-internal.h b/sigrok-internal.h index f78be464..71325c27 100644 --- a/sigrok-internal.h +++ b/sigrok-internal.h @@ -66,7 +66,7 @@ int serial_set_params(int fd, int speed, int bits, int parity, int stopbits, #ifdef HAVE_LIBUSB_1_0 int ezusb_reset(struct libusb_device_handle *hdl, int set_clear); -int ezusb_install_firmware(libusb_device_handle *hdl, char *filename); +int ezusb_install_firmware(libusb_device_handle *hdl, const char *filename); int ezusb_upload_firmware(libusb_device *dev, int configuration, const char *filename); #endif