diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2015-12-22 22:32:24 +1100 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2015-12-22 22:32:24 +1100 |
commit | dfdf4de8fa798a5d66267a1d11107cbe8f76bcc8 (patch) | |
tree | 7a710feb760e0ee9158baf71ea47cc84e8c8b097 | |
parent | 0b69eeaf5db2f675c398a982329b6a2bbffc799e (diff) | |
download | lufa-dfdf4de8fa798a5d66267a1d11107cbe8f76bcc8.tar.gz lufa-dfdf4de8fa798a5d66267a1d11107cbe8f76bcc8.tar.bz2 lufa-dfdf4de8fa798a5d66267a1d11107cbe8f76bcc8.zip |
Fix void pointer arithmetic in the low level RNDIS demo.
-rw-r--r-- | Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.c b/Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.c index cc4e96132..e1d41ebde 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.c +++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.c @@ -244,7 +244,7 @@ void DecodeUDPHeader(void* InDataStart) void DecodeDHCPHeader(void* InDataStart) { #if !defined(NO_DECODE_DHCP) - uint8_t* DHCPOptions = (InDataStart + sizeof(DHCP_Header_t)); + uint8_t* DHCPOptions = ((uint8_t*)InDataStart + sizeof(DHCP_Header_t)); printf_P(PSTR(" \\\r\n DHCP\r\n")); |