diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-09-25 07:42:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-09-25 07:42:38 +0000 |
commit | 62dfc45bb28ae99927ad2ae91f5d6293ff13d5c6 (patch) | |
tree | f3e79c33c1be1997b9a9fd6efcb729a46dcb708e /gc.c | |
parent | 9e3a3be87011e4337d9d6a8adb1f4f7ec8b9694f (diff) | |
download | ruby-62dfc45bb28ae99927ad2ae91f5d6293ff13d5c6.tar.gz |
suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |