forked from forks/qmk_firmware
Fix void pointer arithmetic in the low level RNDIS demo.
This commit is contained in:
parent
0b69eeaf5d
commit
dfdf4de8fa
|
|
@ -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"));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue