14 lines
458 B
Plaintext
14 lines
458 B
Plaintext
$NetBSD: patch-ab,v 1.1 2006/10/21 11:53:13 agc Exp $
|
|
|
|
--- ./async/dnsparse.C.orig 2002-06-26 07:36:31.000000000 +0100
|
|
+++ ./async/dnsparse.C
|
|
@@ -323,7 +323,7 @@ dnsparse::tomxlist ()
|
|
n_chars += strlen (name) + 1;
|
|
|
|
ref <mxlist> mxl = refcounted<mxlist, vsize>::alloc
|
|
- (offsetof (mxlist, m_mxes[nmx]) + n_chars);
|
|
+ (((unsigned int)&(((mxlist *)0)->m_mxes[nmx])) + n_chars);
|
|
mxrec *mxrecs = mxl->m_mxes;
|
|
char *np = (char *) &mxrecs[nmx];
|
|
|