From c035cf7f9ba1fdc07f77d6fa2e37e1e48c6ee3dd Mon Sep 17 00:00:00 2001 From: Kevin Lange Date: Tue, 3 Jul 2012 15:24:58 -0700 Subject: [PATCH] Fix type for sb_len --- src/nyancat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nyancat.c b/src/nyancat.c index fbb3c6e..67820ef 100644 --- a/src/nyancat.c +++ b/src/nyancat.c @@ -304,8 +304,8 @@ int main(int argc, char ** argv) { int k, ttype; uint32_t option = 0, done = 0, sb_mode = 0, do_echo = 0; /* Various pieces for the telnet communication */ - char sb[1024] = {0}; - char sb_len = 0; + char sb[1024] = {0}; + short sb_len = 0; /* Whether or not to show the MOTD intro */ char show_intro = 0;