diff --git a/ext/io/console/console.c b/ext/io/console/console.c index 3496a63b2e..2e2467036d 100644 --- a/ext/io/console/console.c +++ b/ext/io/console/console.c @@ -1223,8 +1223,8 @@ console_key_pressed_p(VALUE io, VALUE k) } #else struct query_args { - const char *qstr; - int opt; + char qstr[6]; + unsigned char opt; }; static int