summaryrefslogtreecommitdiff
path: root/at91lib
diff options
context:
space:
mode:
Diffstat (limited to 'at91lib')
-rw-r--r--at91lib/usb/device/dfu/dfu.h6
1 files 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 */
personal git repositories of Harald Welte. Your mileage may vary