From cfe1806207a60775f699a78ec9d8c0cf4a709b56 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 31 Jul 2011 18:02:04 +0200 Subject: DFU: remove some compiler warnings by using type-casts --- at91lib/usb/device/dfu/dfu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/at91lib/usb/device/dfu/dfu.h b/at91lib/usb/device/dfu/dfu.h index 2e8aa8b..283c3cb 100644 --- a/at91lib/usb/device/dfu/dfu.h +++ b/at91lib/usb/device/dfu/dfu.h @@ -62,9 +62,9 @@ extern const struct USBStringDescriptor USBDFU_string3; #define DFU_NUM_STRINGS 3 #define DFU_STRING_DESCRIPTORS \ - &USBDFU_string1, \ - &USBDFU_string2, \ - &USBDFU_string3, + (const unsigned char *) &USBDFU_string1, \ + (const unsigned char *) &USBDFU_string2, \ + (const unsigned char *) &USBDFU_string3, #else /* BOARD_USB_DFU */ -- cgit v1.2.3