Skip to content
Snippets Groups Projects
Commit 135e19bc authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Avoid compiler warning.


Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent f8d3ca7b
No related branches found
No related tags found
No related merge requests found
...@@ -730,7 +730,7 @@ static void DhcpOptionsProcess (uchar * popt, Bootp_t *bp) ...@@ -730,7 +730,7 @@ static void DhcpOptionsProcess (uchar * popt, Bootp_t *bp)
break; break;
#if defined(CONFIG_CMD_SNTP) && defined(CONFIG_BOOTP_TIMEOFFSET) #if defined(CONFIG_CMD_SNTP) && defined(CONFIG_BOOTP_TIMEOFFSET)
case 2: /* Time offset */ case 2: /* Time offset */
NetCopyLong (&NetTimeOffset, (ulong *) (popt + 2)); NetCopyLong ((ulong *)&NetTimeOffset, (ulong *) (popt + 2));
NetTimeOffset = ntohl (NetTimeOffset); NetTimeOffset = ntohl (NetTimeOffset);
break; break;
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment