This commit was generated by cvs2svn to compensate for changes in r146609,

which included commits to RCS files with non-trunk default branches.
This commit is contained in:
Hartmut Brandt 2005-05-25 12:00:03 +00:00
commit 92fd12db24
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146610

View File

@ -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;