From 135e19bc2773ebca487e9a8371f67e1ba202313a Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Tue, 18 Sep 2007 21:36:35 +0200 Subject: Avoid compiler warning. Signed-off-by: Wolfgang Denk --- net/bootp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net') diff --git a/net/bootp.c b/net/bootp.c index be1ee332a..749d3e5e0 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 -- cgit v1.2.3