diff options
Diffstat (limited to 'devel/sfslite/patches/patch-aa')
-rw-r--r-- | devel/sfslite/patches/patch-aa | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/sfslite/patches/patch-aa b/devel/sfslite/patches/patch-aa new file mode 100644 index 00000000000..c93ed1164b5 --- /dev/null +++ b/devel/sfslite/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2012/05/07 07:25:55 agc Exp $ + +Old C++ warning + +--- async/myaddrs.C 2012/03/28 12:41:30 1.1 ++++ async/myaddrs.C 2012/03/28 12:42:18 +@@ -74,7 +74,7 @@ + res->clear (); + bhash<in_addr> addrs; + +- p = ifc.ifc_buf; ++ p = (char *)(void *)ifc.ifc_buf; + e = p + ifc.ifc_len; + while (p < e) { + struct ifreq *ifrp = (struct ifreq *) p; |