diff options
author | danfe <danfe@FreeBSD.org> | 2004-10-06 12:57:17 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2004-10-06 12:57:17 +0800 |
commit | 0d01d076849fa416108cd8596b625840729efabb (patch) | |
tree | 6e9ac8b31416304042d050c18ea0d13b2990189d /security/qtfw/files | |
parent | 28478251aee213f4aa752de4c19b75fad9337a10 (diff) | |
download | freebsd-ports-gnome-0d01d076849fa416108cd8596b625840729efabb.tar.gz freebsd-ports-gnome-0d01d076849fa416108cd8596b625840729efabb.tar.zst freebsd-ports-gnome-0d01d076849fa416108cd8596b625840729efabb.zip |
Fix the code so GCC 3.4.2 likes it better, and unbreak.
Reported by: kris
Approved by: portmgr (krion), fjoe (mentor, implicit)
Diffstat (limited to 'security/qtfw/files')
-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++) |