summaryrefslogtreecommitdiff
path: root/include/ruby/3/arithmetic/long.h
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-04-21 12:38:36 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-04-21 12:38:36 +0900
commit4b86194177c65babb28236d2a14994d3f5d3f1bf (patch)
tree3f92d08b9270177fe4df685ee3b913a3746cd4c7 /include/ruby/3/arithmetic/long.h
parentb9962f0e8909b1163320fbcfe80060a259b2353d (diff)
Fix typos [ci skip]
Diffstat (limited to 'include/ruby/3/arithmetic/long.h')
-rw-r--r--include/ruby/3/arithmetic/long.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/3/arithmetic/long.h b/include/ruby/3/arithmetic/long.h
index 46ff76d63e..3263c616b0 100644
--- a/include/ruby/3/arithmetic/long.h
+++ b/include/ruby/3/arithmetic/long.h
@@ -136,7 +136,7 @@ ruby3_fix2long_by_shift(VALUE x)
RUBY3_ASSERT_OR_ASSUME(RB_FIXNUM_P(x));
/* :NOTE: VALUE can be wider than long. If right shift is arithmetic, this
- * is noticably faster than above. */
+ * is noticeably faster than above. */
const SIGNED_VALUE y = x;
const SIGNED_VALUE z = y >> 1;
const long w = RUBY3_CAST((long)z);