summaryrefslogtreecommitdiffstats
path: root/tinyNET/src/dhcp/tnet_dhcp_option_sip.c
diff options
context:
space:
mode:
Diffstat (limited to 'tinyNET/src/dhcp/tnet_dhcp_option_sip.c')
-rwxr-xr-x[-rw-r--r--]tinyNET/src/dhcp/tnet_dhcp_option_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyNET/src/dhcp/tnet_dhcp_option_sip.c b/tinyNET/src/dhcp/tnet_dhcp_option_sip.c
index dd28953..0c763fb 100644..100755
--- a/tinyNET/src/dhcp/tnet_dhcp_option_sip.c
+++ b/tinyNET/src/dhcp/tnet_dhcp_option_sip.c
@@ -93,7 +93,7 @@ static tsk_object_t* tnet_dhcp_option_sip_ctor(tsk_object_t * self, va_list * ap
while(payloadPtr < payloadEnd){
++payloadPtr;
- address = tnet_htonl_2(payloadPtr);
+ address = (uint32_t)tnet_htonl_2(payloadPtr);
tsk_sprintf(&ip4, "%u.%u.%u.%u", (address>>24)&0xFF, (address>>16)&0xFF, (address>>8)&0xFF, (address>>0)&0xFF);
OpenPOWER on IntegriCloud