From 5dc2472024511bd300ca277439ec9ef8053577f1 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 1 Nov 2016 12:35:30 +0000 Subject: numeric.c: fix typos [ci skip] * numeric.c (rb_num2ulong_internal, rb_num2ull): fix typos in comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- numeric.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numeric.c') diff --git a/numeric.c b/numeric.c index 9a28a45f77..f894a3f594 100644 --- a/numeric.c +++ b/numeric.c @@ -2660,7 +2660,7 @@ rb_num2ulong_internal(VALUE val, int *wrap_p) } if (FIXNUM_P(val)) { - long l = FIX2LONG(val); /* this is FIX2LONG, inteneded */ + long l = FIX2LONG(val); /* this is FIX2LONG, intended */ if (wrap_p) *wrap_p = l < 0; return (unsigned long)l; @@ -2923,7 +2923,7 @@ rb_num2ull(VALUE val) rb_raise(rb_eTypeError, "no implicit conversion from nil"); } else if (RB_TYPE_P(val, T_FIXNUM)) { - return (LONG_LONG)FIX2LONG(val); /* this is FIX2LONG, inteneded */ + return (LONG_LONG)FIX2LONG(val); /* this is FIX2LONG, intended */ } else if (RB_TYPE_P(val, T_FLOAT)) { if (RFLOAT_VALUE(val) < ULLONG_MAX_PLUS_ONE -- cgit v1.2.3