summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/usb_ch9.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/include/usb_ch9.h b/firmware/include/usb_ch9.h
index 82edf61..46066f2 100644
--- a/firmware/include/usb_ch9.h
+++ b/firmware/include/usb_ch9.h
@@ -257,7 +257,7 @@ struct usb_string_descriptor {
u_int8_t bLength;
u_int8_t bDescriptorType;
- u_int16_t wData[1]; /* UTF-16LE encoded */
+ u_int16_t wData[0]; /* UTF-16LE encoded */
} __attribute__ ((packed));
/* note that "string" zero is special, it holds language codes that
personal git repositories of Harald Welte. Your mileage may vary