summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authorS-H-GAMELINKS <gamelinks007@gmail.com>2021-08-31 20:30:35 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-09-05 23:01:27 +0900
commitbdd6d8746f0a07b2c0cc3a6b387bf594569c0bb7 (patch)
treef11d32da65e227763d598d765765a76ddace1a0a /time.c
parent8f752c95d20134bcc0b5394f1cea723a40f1ac8c (diff)
Replace RBOOL macro
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4791
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time.c b/time.c
index 58e20304ed..fb2f671fe0 100644
--- a/time.c
+++ b/time.c
@@ -4460,7 +4460,7 @@ time_wday(VALUE time)
}
#define wday_p(n) {\
- return (time_wday(time) == INT2FIX(n)) ? Qtrue : Qfalse; \
+ return RBOOL(time_wday(time) == INT2FIX(n)); \
}
/*