diff options
author | harti <harti@FreeBSD.org> | 2005-05-25 12:00:03 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-05-25 12:00:03 +0000 |
commit | 2b366eef52ee173d11c8c3b0570cd771e5c0044a (patch) | |
tree | e04203ed93f9dd20e51c390d6696feefabe7879c | |
parent | a585c860e6a23a65af9f6a881ca7c5686cad63a4 (diff) | |
download | FreeBSD-src-2b366eef52ee173d11c8c3b0570cd771e5c0044a.zip FreeBSD-src-2b366eef52ee173d11c8c3b0570cd771e5c0044a.tar.gz |
Apply a vendor patch: silence gcc on arm (alignent when casting pointer).
Submitted by: Olivier Houchard <cognet@ci0.org>
-rw-r--r-- | contrib/bsnmp/snmp_mibII/mibII.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/bsnmp/snmp_mibII/mibII.c b/contrib/bsnmp/snmp_mibII/mibII.c index 5c7a914..7de7fbe 100644 --- a/contrib/bsnmp/snmp_mibII/mibII.c +++ b/contrib/bsnmp/snmp_mibII/mibII.c @@ -444,7 +444,7 @@ mib_extract_addrs(int addrs, u_char *info, struct sockaddr **out) for (i = 0; i < RTAX_MAX; i++) { if ((addrs & (1 << i)) != 0) { - *out = (struct sockaddr *)info; + *out = (struct sockaddr *)(void *)info; info += roundup((*out)->sa_len, sizeof(long)); } else *out = NULL; |