summaryrefslogtreecommitdiff
path: root/app/xterm/scrollback.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-31 14:11:58 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-31 14:11:58 +0000
commit93c5456a54893a8e648cd803abf202e80e9a93b0 (patch)
treea522a3e8ef59cfadb54bef4eb060e452464ec1a9 /app/xterm/scrollback.c
parent80408f471074022f7300901bf92a1533dae3f8da (diff)
Update to xterm 250
Diffstat (limited to 'app/xterm/scrollback.c')
-rw-r--r--app/xterm/scrollback.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/xterm/scrollback.c b/app/xterm/scrollback.c
index a828c8cf4..ff207bb5b 100644
--- a/app/xterm/scrollback.c
+++ b/app/xterm/scrollback.c
@@ -1,4 +1,4 @@
-/* $XTermId: scrollback.c,v 1.11 2009/08/06 08:34:30 tom Exp $ */
+/* $XTermId: scrollback.c,v 1.12 2009/10/12 00:06:18 tom Exp $ */
/************************************************************
@@ -48,7 +48,7 @@ getScrollback(TScreen * screen, int row)
unsigned which = ROW2FIFO(screen, row);
ScrnBuf where = scrnHeadAddr(screen, screen->saveBuf_index, which);
- TRACE(("getScrollback %d -> %d -> %p\n", row, which, where));
+ TRACE(("getScrollback %d -> %d -> %p\n", row, which, (void *) where));
return (LineData *) where;
}
@@ -80,7 +80,7 @@ addScrollback(TScreen * screen)
*/
if (prior->attribs != 0) {
TRACE(("...freeing prior FIFO data in slot %d: %p->%p\n",
- which, prior, prior->attribs));
+ which, (void *) prior, prior->attribs));
free(prior->attribs);
prior->attribs = 0;
}
@@ -93,7 +93,7 @@ addScrollback(TScreen * screen)
setupLineData(screen, where, (Char *) block, 1, ncols);
TRACE(("...storing new FIFO data in slot %d: %p->%p\n",
- which, where, block));
+ which, (void *) where, block));
}
return (LineData *) where;
@@ -111,7 +111,7 @@ deleteScrollback(TScreen * screen, int row)
*/
if (prior->attribs != 0) {
TRACE(("...freeing prior FIFO data in slot %d: %p->%p\n",
- which, prior, prior->attribs));
+ which, (void *) prior, prior->attribs));
free(prior->attribs);
prior->attribs = 0;
}