aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.c
diff options
context:
space:
mode:
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)) {