diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-26 04:58:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-26 04:58:15 +0000 |
commit | b8a9fb0e26a7b58481d44b6c2caba076c9cf4f57 (patch) | |
tree | 6d29af9160ee116fe6c7e170f253bfa8d320b599 /util.c | |
parent | 1b5de6c2aba0e9b66c2e3582be7269ffb7f10545 (diff) | |
download | ruby-b8a9fb0e26a7b58481d44b6c2caba076c9cf4f57.tar.gz ruby-b8a9fb0e26a7b58481d44b6c2caba076c9cf4f57.tar.xz ruby-b8a9fb0e26a7b58481d44b6c2caba076c9cf4f57.zip |
* common.mk (bignum.o, numeric.o): depend on util.h.
* bignum.c, marshal.c: fixed types.
* numeric.c (infinite_value): use ruby_div0.
* include/ruby/util.h (ruby_div0): moved from marshal.c.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -445,7 +445,7 @@ ruby_qsort(void* base, const size_t nel, const size_t size, register int t, eq_l, eq_r; /* eq_l: all items in left group are equal to S */ char *L = base; /* left end of curren region */ char *R = (char*)base + size*(nel-1); /* right end of current region */ - int chklim = 63; /* threshold of ordering element check */ + size_t chklim = 63; /* threshold of ordering element check */ stack_node stack[32], *top = stack; /* 32 is enough for 32bit CPU */ int mmkind; size_t high, low, n; |