From 83e62d77981adeb2968a49c3176a7a940c8ee29e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 5 Jan 2021 16:31:43 +0900 Subject: [ruby/io-console] Shrink struct query_args https://github.com/ruby/io-console/commit/720be0a3e5 --- ext/io/console/console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/io/console') 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 -- cgit v1.2.3