X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/d423090b26ade8912e669d6c6d3c5463e0669429..ea5236b3e14976c1fc9b053c0a9294e8305e0a15:/LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_R.c diff --git a/LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_R.c b/LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_R.c index a2a0c3bd5..e64f0ed4a 100644 --- a/LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_R.c +++ b/LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_R.c @@ -1,6 +1,6 @@ uint8_t TEMPLATE_FUNC_NAME (void* Buffer, uint16_t Length) { - uint8_t* DataStream = (uint8_t*)(Buffer + TEMPLATE_BUFFER_OFFSET(Length)); + uint8_t* DataStream = ((uint8_t*)Buffer + TEMPLATE_BUFFER_OFFSET(Length)); while (Length) {