aboutsummaryrefslogtreecommitdiffstats
path: root/editors/xenon
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-08-01 04:14:03 +0800
committerarved <arved@FreeBSD.org>2007-08-01 04:14:03 +0800
commit729476ead7962193844559192784e58cd7bcca61 (patch)
treed3f368e6af81fd0fa11659e32e7e0afc612fd8aa /editors/xenon
parent432241044f745f748b70caeb35b08693c20dbf44 (diff)
downloadfreebsd-ports-gnome-729476ead7962193844559192784e58cd7bcca61.tar.gz
freebsd-ports-gnome-729476ead7962193844559192784e58cd7bcca61.tar.zst
freebsd-ports-gnome-729476ead7962193844559192784e58cd7bcca61.zip
Fix build on 64bit Platforms
Diffstat (limited to 'editors/xenon')
-rw-r--r--editors/xenon/files/patch-KrBuf.C18
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/xenon/files/patch-KrBuf.C b/editors/xenon/files/patch-KrBuf.C
new file mode 100644
index 000000000000..c71ca3e204d4
--- /dev/null
+++ b/editors/xenon/files/patch-KrBuf.C
@@ -0,0 +1,18 @@
+--- KrBuf.C.orig 2007-07-31 22:11:00.000000000 +0200
++++ KrBuf.C 2007-07-31 22:10:24.000000000 +0200
+@@ -878,13 +878,13 @@
+ void
+ KrBuf::dump(bool printData)
+ {
+- printf("KrBuf(0x%08x) size=%d\n", (int)this, _size);
++ printf("KrBuf(0x%08x) size=%d\n", (intptr_t)this, _size);
+
+ int i, sp, pos = 0;
+ MBuf* m = _mHead;
+ while (m) {
+ printf(" MBuf(0x%08x) pos=%6d len=%3d data=[0x%08x..0x%08x]\n",
+- (int)m, pos, m->_len, (int)m->_data, (int)m->_data + m->_len - 1);
++ (intptr_t)m, pos, m->_len, (intptr_t)m->_data, (intptr_t)m->_data + m->_len - 1);
+
+ if (printData) {
+ sp = (m->_data - m->_dat) % 0x20 + 1;