diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2018-12-09 13:24:51 +1100 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2018-12-09 13:30:16 +1100 |
commit | b3010839385f81c0f62c379aa3bb62862c26ddbb (patch) | |
tree | d8514a5316fdbc4b371c64bfe1660fa33d85007f /Demos/Device/LowLevel | |
parent | 4fc5650d99b2e3131aea06f357fa647d24c6e166 (diff) | |
download | lufa-b3010839385f81c0f62c379aa3bb62862c26ddbb.tar.gz lufa-b3010839385f81c0f62c379aa3bb62862c26ddbb.tar.bz2 lufa-b3010839385f81c0f62c379aa3bb62862c26ddbb.zip |
Fix static analysis warnings.
Diffstat (limited to 'Demos/Device/LowLevel')
-rw-r--r-- | Demos/Device/LowLevel/RNDISEthernet/Lib/DHCP.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/LowLevel/RNDISEthernet/Lib/DHCP.c b/Demos/Device/LowLevel/RNDISEthernet/Lib/DHCP.c index 44849fbff..6fcab3b7d 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/Lib/DHCP.c +++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/DHCP.c @@ -54,8 +54,8 @@ int16_t DHCP_ProcessDHCPPacket(void* IPHeaderInStart, DHCP_Header_t* DHCPHeaderIN = (DHCP_Header_t*)DHCPHeaderInStart; DHCP_Header_t* DHCPHeaderOUT = (DHCP_Header_t*)DHCPHeaderOutStart; - uint8_t* DHCPOptionsINStart = (uint8_t*)(DHCPHeaderInStart + sizeof(DHCP_Header_t)); - uint8_t* DHCPOptionsOUTStart = (uint8_t*)(DHCPHeaderOutStart + sizeof(DHCP_Header_t)); + uint8_t* DHCPOptionsINStart = ((uint8_t*)DHCPHeaderInStart + sizeof(DHCP_Header_t)); + uint8_t* DHCPOptionsOUTStart = ((uint8_t*)DHCPHeaderOutStart + sizeof(DHCP_Header_t)); DecodeDHCPHeader(DHCPHeaderInStart); |