Fix compiler warning
authorMatthew Mondor <mmondor@rpi.xisop>
Thu, 14 Apr 2022 13:50:29 +0000 (09:50 -0400)
committerMatthew Mondor <mmondor@rpi.xisop>
Thu, 14 Apr 2022 13:50:29 +0000 (09:50 -0400)
hacks/analogterm.c

index 3530d13..9d29dbc 100644 (file)
@@ -117,7 +117,7 @@ at_insert(analogterm_state_t *st, int many)
                *mptr = st->mode & TMODE_BGCOLOR;
 }
 
-static smooth_scroll_offset = 0;
+static int smooth_scroll_offset = 0;
 static int cursor_waitnext = 2;
 static bool cursor_laststate = false;