diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-01-05 16:31:43 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-01-05 21:26:15 +0900 |
commit | 83e62d77981adeb2968a49c3176a7a940c8ee29e (patch) | |
tree | c9404eee9cbe4ac0baf1eee0a8bf460a41d934aa /ext/io | |
parent | 4272395982dc442dbd38fef514116e0bad9f9303 (diff) |
[ruby/io-console] Shrink struct query_args
https://github.com/ruby/io-console/commit/720be0a3e5
Diffstat (limited to 'ext/io')
-rw-r--r-- | ext/io/console/console.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |