mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-06-28 20:12:12 +00:00
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 New Issue
Block a user