projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8d3ca7
)
Avoid compiler warning.
author
Wolfgang Denk
<wd@denx.de>
Tue, 18 Sep 2007 19:36:35 +0000
(21:36 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Tue, 18 Sep 2007 19:36:35 +0000
(21:36 +0200)
Signed-off-by: Wolfgang Denk <wd@denx.de>
net/bootp.c
patch
|
blob
|
history
diff --git
a/net/bootp.c
b/net/bootp.c
index
be1ee33
..
749d3e5
100644
(file)
--- 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