diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2007-07-31 20:14:03 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2007-07-31 20:14:03 +0000 |
commit | 1c3e23cd7b844ab22305b3b4504ac9022e2fc310 (patch) | |
tree | 0edcf6b28b6ca6e8b5ee38b459f5caf0b7a4aa16 /editors/xenon | |
parent | f570c27bb249685cb390795165539047b6df62a4 (diff) |
Notes
Diffstat (limited to 'editors/xenon')
-rw-r--r-- | editors/xenon/files/patch-KrBuf.C | 18 |
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; |