Project

General

Profile

Bug #1272 » numeric.patch

cfis (Charlie Savage), 03/12/2009 12:56 PM

View differences:

numeric.c (working copy)
out_of_range:
rb_raise(rb_eRangeError, "%"PRIdVALUE " out of char range", i);
}
c = i;
c = (char)i;
if (i < 0x80) {
return rb_usascii_str_new(&c, 1);
}
(3-3/6)