diff --git a/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h b/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h index 1b73ec34d5..84a6f0cf06 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; }