suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9e3a3be870
commit
62dfc45bb2
@ -2378,7 +2378,7 @@ offset_to_sec(VALUE vof, int *rof)
|
||||
n = FIX2LONG(vs);
|
||||
if (n < -DAY_IN_SECONDS || n > DAY_IN_SECONDS)
|
||||
return 0;
|
||||
*rof = n;
|
||||
*rof = (int)n;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
2
gc.c
2
gc.c
@ -504,7 +504,7 @@ rb_gc_set_params(void)
|
||||
/* 2KB */
|
||||
/*#define HEAP_SIZE 0x800 */
|
||||
|
||||
#define HEAP_OBJ_LIMIT (HEAP_SIZE / sizeof(struct RVALUE))
|
||||
#define HEAP_OBJ_LIMIT (HEAP_SIZE / (unsigned int)sizeof(struct RVALUE))
|
||||
|
||||
extern st_table *rb_class_tbl;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user