aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-11 00:29:32 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-11 01:56:50 +0900
commitcc0fca2729368f5d5628829a329eb05a86728ace (patch)
treeb004d2d88341b6fa99be88996e58d3e1955dd71d /internal
parent92cf14b4c5ba4d18140be870bbc5530d1d9e7140 (diff)
downloadruby-cc0fca2729368f5d5628829a329eb05a86728ace.tar.gz
Fix range of `--backtrace-limit`
Also an option command line should have precedence over `RUBYOPT`.
Diffstat (limited to 'internal')
-rw-r--r--internal/cmdlineopt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cmdlineopt.h b/internal/cmdlineopt.h
index b2e38bbb47..3b678b1edd 100644
--- a/internal/cmdlineopt.h
+++ b/internal/cmdlineopt.h
@@ -23,7 +23,7 @@ typedef struct ruby_cmdline_options {
ruby_features_t features;
ruby_features_t warn;
unsigned int dump;
- int backtrace_length_limit;
+ long backtrace_length_limit;
#if USE_RJIT
struct rb_rjit_options rjit;
#endif