diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2004-10-06 04:57:17 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2004-10-06 04:57:17 +0000 |
commit | 020cd998029533b2188adeb43fcaea70649cf8be (patch) | |
tree | e48edaad7fd3f0ccd91f151e72ede8ca143031fb /security/qtfw/files/patch-fwrule.cpp | |
parent | Unbreak on 5.X and -CURRENT. (diff) |
Fix the code so GCC 3.4.2 likes it better, and unbreak.
Reported by: kris
Approved by: portmgr (krion), fjoe (mentor, implicit)
Notes
Notes:
svn path=/head/; revision=118560
Diffstat (limited to 'security/qtfw/files/patch-fwrule.cpp')
-rw-r--r-- | security/qtfw/files/patch-fwrule.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
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++) |