diff options
Diffstat (limited to 'LUFA/Common')
-rw-r--r-- | LUFA/Common/Common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index 68419ce2d..86b84cc2a 100644 --- a/LUFA/Common/Common.h +++ b/LUFA/Common/Common.h @@ -167,7 +167,7 @@ static inline void SwapEndian_n(void* Data, uint8_t Bytes); static inline void SwapEndian_n(void* Data, uint8_t Bytes) { - uint8_t* CurrDataPos = Data; + uint8_t* CurrDataPos = (uint8_t*)Data; while (Bytes) { |