aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/HighLevel
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-13 14:09:25 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-13 14:09:25 +0000
commit3705330dd32f54cf15842511b7657d2f321c11ad (patch)
tree5efa5e70e4a7d338befde10772f6a73ba80c69d3 /LUFA/Drivers/USB/HighLevel
parent307ba254d5ef8bcdd9b9aa1bdb277041e79d6563 (diff)
downloadlufa-3705330dd32f54cf15842511b7657d2f321c11ad.tar.gz
lufa-3705330dd32f54cf15842511b7657d2f321c11ad.tar.bz2
lufa-3705330dd32f54cf15842511b7657d2f321c11ad.zip
Use -pedantic compile time option to find and correct several minor code errors.
Diffstat (limited to 'LUFA/Drivers/USB/HighLevel')
-rw-r--r--LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h b/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
index 84a6f0cf0..1b73ec34d 100644
--- a/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
+++ b/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
@@ -263,7 +263,7 @@
{
uint16_t CurrDescriptorSize = DESCRIPTOR_CAST(*CurrConfigLoc, USB_Descriptor_Header_t).Size;
- *CurrConfigLoc += CurrDescriptorSize;
+ *((uint8_t**)CurrConfigLoc) += CurrDescriptorSize;
*BytesRem -= CurrDescriptorSize;
}