summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authora_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-07 14:29:41 +0000
committera_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-07 14:29:41 +0000
commit38e89273ede48d5864bca9a9450dd2ab6bae85d9 (patch)
tree774a3bd4c5ddf0a6455fdfdb3750a5f960dce580 /numeric.c
parent1fa01c12df09fa82430bd36c29219a919f83b2d9 (diff)
downloadruby-38e89273ede48d5864bca9a9450dd2ab6bae85d9.tar.gz
* 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
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index f4233d9460..039869f367 100644
--- a/numeric.c
+++ b/numeric.c
@@ -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)) {