X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/ad1a76fefdc79201fe2efaf0ef356acbb7938d46..85e453f622a540ecc8c86b3817e8b85d8218c474:/src/OS/unsupported/os.c-IRIX65 diff --git a/src/OS/unsupported/os.c-IRIX65 b/src/OS/unsupported/os.c-IRIX65 index 487091aeb..c1539cb50 100644 --- a/src/OS/unsupported/os.c-IRIX65 +++ b/src/OS/unsupported/os.c-IRIX65 @@ -59,7 +59,7 @@ if (sysctl(mib, 6, NULL, &needed, NULL, 0) < 0) log_write(0, LOG_PANIC_DIE, "iflist-sysctl-estimate failed: %s", strerror(errno)); -buf = store_get(needed); +buf = store_get(needed, FALSE); if (sysctl(mib, 6, buf, &needed, NULL, 0) < 0) log_write(0, LOG_PANIC_DIE, "sysctl of ifnet list failed: %s", @@ -82,7 +82,7 @@ for (nextaddr = buf; nextaddr < lim; nextaddr += ifm->ifm_msglen) if ((ifam->ifam_addrs & RTA_IFA) != 0) { - char *cp = (char *)mask; + char *cp = CS mask; struct sockaddr *sa = (struct sockaddr *)mask; ADVANCE(cp, sa); addr = (struct sockaddr_in *)cp;