diff options
author | arved <arved@FreeBSD.org> | 2007-08-08 20:27:56 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2007-08-08 20:27:56 +0800 |
commit | b4d1546da33d510dff28a82e93dc44758405fedc (patch) | |
tree | e1e79be551bafffeccb2cde12b70f4998a6d11da | |
parent | cc25e4576b40aebed1c799ff55acff89f3be616f (diff) | |
download | freebsd-ports-gnome-b4d1546da33d510dff28a82e93dc44758405fedc.tar.gz freebsd-ports-gnome-b4d1546da33d510dff28a82e93dc44758405fedc.tar.zst freebsd-ports-gnome-b4d1546da33d510dff28a82e93dc44758405fedc.zip |
Fix build on 64 bit platforms
-rw-r--r-- | www/osb-nrcore/files/patch-khtml-html-html_doumentimp.cpp | 23 |
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 { |