Fix additional void pointer arithmetic in the class driver RNDIS demo.
This commit is contained in:
1 parent
d0161e0a9b
commit
a86b502294
2 files changed
+2
-2
No files matched your search
@@ -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"));
|
||||
|
||||
|
||||
Reference in new issue
Block a user