]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - terminal.h
More robust control sequence parameter handling.
[PuTTY.git] / terminal.h
index 135ef45a6ce9636f9e3f4d06055905bd952e7dc0..01d5f57a2d7e4f3f189f1ea7276eca6998c58cb6 100644 (file)
@@ -172,7 +172,7 @@ struct terminal_tag {
 #define ARGS_MAX 32                   /* max # of esc sequence arguments */
 #define ARG_DEFAULT 0                 /* if an arg isn't specified */
 #define def(a,d) ( (a) == ARG_DEFAULT ? (d) : (a) )
-    int esc_args[ARGS_MAX];
+    unsigned esc_args[ARGS_MAX];
     int esc_nargs;
     int esc_query;
 #define ANSI(x,y)      ((x)+((y)<<8))