From 020cd998029533b2188adeb43fcaea70649cf8be Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Wed, 6 Oct 2004 04:57:17 +0000 Subject: Fix the code so GCC 3.4.2 likes it better, and unbreak. Reported by: kris Approved by: portmgr (krion), fjoe (mentor, implicit) --- security/qtfw/files/patch-fwrule.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'security/qtfw/files/patch-fwrule.cpp') diff --git a/security/qtfw/files/patch-fwrule.cpp b/security/qtfw/files/patch-fwrule.cpp index 979c53b9e120..22e5d7d8ed3b 100644 --- a/security/qtfw/files/patch-fwrule.cpp +++ b/security/qtfw/files/patch-fwrule.cpp @@ -8,3 +8,12 @@ #define IPPROTO_IP 0 +@@ -547,7 +547,7 @@ + nCurrentIndex++; + ac++; + } +- av = new (char*)[ac]; ++ av = new char*[ac]; + + /* Now fill the av[] array */ + for (int i =0;i < ac;i++) -- cgit v1.2.3