1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* numeric.c: Fix typo in an error message

s/unsgined/unsigned/

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
a_matsuda 2014-01-07 14:29:41 +00:00
parent 1fa01c12df
commit 38e89273ed

View file

@ -2316,7 +2316,7 @@ rb_num2ull(VALUE val)
snprintf(buf, sizeof(buf), "%-.10g", RFLOAT_VALUE(val));
if ((s = strchr(buf, ' ')) != 0) *s = '\0';
rb_raise(rb_eRangeError, "float %s out of range of unsgined long long", buf);
rb_raise(rb_eRangeError, "float %s out of range of unsigned long long", buf);
}
}
else if (RB_TYPE_P(val, T_BIGNUM)) {