aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-13 14:16:29 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-13 14:16:29 +0000
commit32b7762325829c6e7a4168bb7db5084a34673f20 (patch)
tree91b6107969e320fa2d102f100422333d0107565b /LUFA
parent3705330dd32f54cf15842511b7657d2f321c11ad (diff)
downloadlufa-32b7762325829c6e7a4168bb7db5084a34673f20.tar.gz
lufa-32b7762325829c6e7a4168bb7db5084a34673f20.tar.bz2
lufa-32b7762325829c6e7a4168bb7db5084a34673f20.zip
Oops - wrong casting on the Configuration Descriptor pointer advance routine.
Diffstat (limited to 'LUFA')
-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 1b73ec34d..84a6f0cf0 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;
- *((uint8_t**)CurrConfigLoc) += CurrDescriptorSize;
+ *CurrConfigLoc += CurrDescriptorSize;
*BytesRem -= CurrDescriptorSize;
}