From 76bacaabf0b49627b47f7e1137bfb3c44969d089 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 2 Mar 2019 06:36:44 +0000 Subject: [PATCH] Minor fix to diagnostics under #ifdef TERM_CC_DIAG. I just tried compiling with that for the first time in a while, and it had slightly bit-rotted due to adoption of strbuf in compressline(). --- terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.c b/terminal.c index 8141ffaf..34074e73 100644 --- a/terminal.c +++ b/terminal.c @@ -717,7 +717,7 @@ static compressed_scrollback_line *compressline(termline *ldata) printf("\n"); #endif - dcl = decompressline(b->data); + dcl = decompressline((compressed_scrollback_line *)b->u); assert(ldata->cols == dcl->cols); assert(ldata->lattr == dcl->lattr); for (i = 0; i < ldata->cols; i++)