From 32b7762325829c6e7a4168bb7db5084a34673f20 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 13 Dec 2009 14:16:29 +0000 Subject: Oops - wrong casting on the Configuration Descriptor pointer advance routine. --- LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LUFA') 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; } -- cgit v1.2.3