Skip to content

Commit 55332be

Browse files
committed
Remove extra spaces
1 parent d79b0de commit 55332be

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/main/c/cext/ruby.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ LONG_LONG rb_num2ll(VALUE val) {
227227
} else if (RB_TYPE_P(val, T_TRUE) || RB_TYPE_P(val, T_FALSE)) {
228228
rb_raise(rb_eTypeError, "no implicit conversion from boolean");
229229
}
230-
230+
231231
val = rb_to_int(val);
232232
return NUM2LL(val);
233233
}
@@ -261,7 +261,7 @@ unsigned long rb_fix2uint(VALUE value) {
261261
}
262262

263263
int rb_long2int(long value) {
264-
return polyglot_as_i64(polyglot_invoke(RUBY_CEXT, "rb_long2int", value));
264+
return polyglot_as_i64(polyglot_invoke(RUBY_CEXT, "rb_long2int", value));
265265
}
266266

267267
int rb_cmpint(VALUE val, VALUE a, VALUE b) {
@@ -555,27 +555,27 @@ static void validate_integer_pack_format(size_t numwords, size_t wordsize, size_
555555
wordorder_bits != INTEGER_PACK_LSWORD_FIRST) {
556556
rb_raise(rb_eArgError, "unexpected word order");
557557
}
558-
558+
559559
if (byteorder_bits == 0) {
560560
rb_raise(rb_eArgError, "byte order not specified");
561561
} else if (byteorder_bits != INTEGER_PACK_MSBYTE_FIRST &&
562562
byteorder_bits != INTEGER_PACK_LSBYTE_FIRST &&
563563
byteorder_bits != INTEGER_PACK_NATIVE_BYTE_ORDER) {
564564
rb_raise(rb_eArgError, "unexpected byte order");
565565
}
566-
566+
567567
if (wordsize == 0) {
568568
rb_raise(rb_eArgError, "invalid wordsize: %lu", wordsize);
569569
}
570-
570+
571571
if (8 < wordsize) {
572572
rb_raise(rb_eArgError, "too big wordsize: %lu", wordsize);
573573
}
574-
574+
575575
if (wordsize <= nails / CHAR_BIT) {
576576
rb_raise(rb_eArgError, "too big nails: %lu", nails);
577577
}
578-
578+
579579
if (INT_MAX / wordsize < numwords) {
580580
rb_raise(rb_eArgError, "too big numwords * wordsize: %lu * %lu", numwords, wordsize);
581581
}
@@ -2194,7 +2194,7 @@ VALUE rb_range_beg_len(VALUE range, long *begp, long *lenp, long len, int err) {
21942194
if (!rb_range_values(range, &b, &e, &excl)) {
21952195
return Qfalse;
21962196
}
2197-
2197+
21982198
beg = NUM2LONG(b);
21992199
end = NUM2LONG(e);
22002200
origbeg = beg;

0 commit comments

Comments
 (0)