From: Wolfgang Denk Date: Tue, 18 Sep 2007 19:36:35 +0000 (+0200) Subject: Avoid compiler warning. X-Git-Tag: v1.3.0-rc2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=135e19bc2773ebca487e9a8371f67e1ba202313a;p=u-boot Avoid compiler warning. Signed-off-by: Wolfgang Denk --- diff --git a/net/bootp.c b/net/bootp.c index be1ee332a5..749d3e5e0c 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -730,7 +730,7 @@ static void DhcpOptionsProcess (uchar * popt, Bootp_t *bp) break; #if defined(CONFIG_CMD_SNTP) && defined(CONFIG_BOOTP_TIMEOFFSET) case 2: /* Time offset */ - NetCopyLong (&NetTimeOffset, (ulong *) (popt + 2)); + NetCopyLong ((ulong *)&NetTimeOffset, (ulong *) (popt + 2)); NetTimeOffset = ntohl (NetTimeOffset); break; #endif