From 729476ead7962193844559192784e58cd7bcca61 Mon Sep 17 00:00:00 2001 From: arved Date: Tue, 31 Jul 2007 20:14:03 +0000 Subject: Fix build on 64bit Platforms --- editors/xenon/files/patch-KrBuf.C | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 editors/xenon/files/patch-KrBuf.C (limited to 'editors/xenon') 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; -- cgit