aboutsummaryrefslogtreecommitdiff
path: root/net/bootp.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-09-18 21:36:35 +0200
committerWolfgang Denk <wd@denx.de>2007-09-18 21:36:35 +0200
commit135e19bc2773ebca487e9a8371f67e1ba202313a (patch)
tree6a363dfd1310cd51c7dfaa1afc246da61073d1f5 /net/bootp.c
parentf8d3ca7b6fa322ac57e8e831f07dbeea039a9f35 (diff)
downloadu-boot-135e19bc2773ebca487e9a8371f67e1ba202313a.zip
u-boot-135e19bc2773ebca487e9a8371f67e1ba202313a.tar.gz
u-boot-135e19bc2773ebca487e9a8371f67e1ba202313a.tar.bz2
Avoid compiler warning.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'net/bootp.c')
-rw-r--r--net/bootp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bootp.c b/net/bootp.c
index be1ee33..749d3e5 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