commit | 101c59356292c30ed5c8f7138c7680b4dc3d4811 | [log] [tgz] |
---|---|---|
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | Sun Jun 05 17:11:42 2005 +0000 |
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | Sun Jun 05 17:11:42 2005 +0000 |
tree | 9804bca016979ade791f1ca9eb4191779acf58d5 | |
parent | b685369795f028535862cb3caddaf219c655db2a [diff] [blame] |
64 bit fixes (initial patch by Gwenole Beauchesne) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1458 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/slirp/bootp.c b/slirp/bootp.c index 56caf70..9f0652f 100644 --- a/slirp/bootp.c +++ b/slirp/bootp.c
@@ -238,7 +238,7 @@ void bootp_input(struct mbuf *m) { - struct bootp_t *bp = (struct bootp_t *)m->m_data; + struct bootp_t *bp = mtod(m, struct bootp_t *); if (bp->bp_op == BOOTP_REQUEST) { bootp_reply(bp);