aboutsummaryrefslogtreecommitdiff
path: root/www/osb-nrcore
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2007-08-08 12:27:56 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2007-08-08 12:27:56 +0000
commitbbf71ee1c1eb03b938c381a75aa5ec46e455d9a7 (patch)
tree77928dc41c114b4da7fa96019392baa56d2a4364 /www/osb-nrcore
parent8120ed6f3da886a138da8674456bc78bc799364f (diff)
downloadports-bbf71ee1c1eb03b938c381a75aa5ec46e455d9a7.tar.gz
ports-bbf71ee1c1eb03b938c381a75aa5ec46e455d9a7.zip
Notes
Diffstat (limited to 'www/osb-nrcore')
-rw-r--r--www/osb-nrcore/files/patch-khtml-html-html_doumentimp.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/www/osb-nrcore/files/patch-khtml-html-html_doumentimp.cpp b/www/osb-nrcore/files/patch-khtml-html-html_doumentimp.cpp
new file mode 100644
index 000000000000..f63463e279ee
--- /dev/null
+++ b/www/osb-nrcore/files/patch-khtml-html-html_doumentimp.cpp
@@ -0,0 +1,23 @@
+--- khtml/html/html_documentimpl.cpp.orig 2007-08-08 13:44:11.000000000 +0200
++++ khtml/html/html_documentimpl.cpp 2007-08-08 13:45:49.000000000 +0200
+@@ -270,7 +270,7 @@
+ return;
+ }
+
+- int oldCount = (int)namedImageAndFormCounts.find(name);
++ intptr_t oldCount = (intptr_t)namedImageAndFormCounts.find(name);
+ namedImageAndFormCounts.insert(name, (char *)(oldCount + 1));
+ }
+
+@@ -280,9 +280,9 @@
+ return;
+ }
+
+- int oldVal = (int)(namedImageAndFormCounts.find(name));
++ intptr_t oldVal = (intptr_t)(namedImageAndFormCounts.find(name));
+ if (oldVal != 0) {
+- int newVal = oldVal - 1;
++ intptr_t newVal = oldVal - 1;
+ if (newVal == 0) {
+ namedImageAndFormCounts.remove(name);
+ } else {