]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Pointer type correction in term_clrsb().
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Sat, 18 Feb 2006 22:30:10 +0000 (22:30 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Sat, 18 Feb 2006 22:30:10 +0000 (22:30 +0000)
(Harmless, as it happens.)

[originally from svn r6568]

terminal.c

index 117ac74d77f939087709813dee013eaf8c9405b6..906f252626b0daaa5db716d3ce49813eda3f2760 100644 (file)
@@ -1384,7 +1384,7 @@ void term_reconfig(Terminal *term, Config *cfg)
  */
 void term_clrsb(Terminal *term)
 {
-    termline *line;
+    unsigned char *line;
     term->disptop = 0;
     while ((line = delpos234(term->scrollback, 0)) != NULL) {
        sfree(line);            /* this is compressed data, not a termline */