aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin Lange <klange@yelp.com>2012-07-03 15:24:58 -0700
committerKevin Lange <klange@yelp.com>2012-07-03 15:24:58 -0700
commitc035cf7f9ba1fdc07f77d6fa2e37e1e48c6ee3dd (patch)
tree23ca4761604cc3fa70b48aa755b446f045f87e5d /src
parentbc1cda50dc411a9a42d3bab3892e3688f2fb80bd (diff)
downloadnyancat-c035cf7f9ba1fdc07f77d6fa2e37e1e48c6ee3dd.tar.gz
Fix type for sb_len
Diffstat (limited to '')
-rw-r--r--src/nyancat.c4
1 files 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;