summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-29 08:32:54 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-29 08:32:54 +0000
commitf00ea57ce1fe0bfe137d76703b1bdc4d2293c781 (patch)
tree116f8145de8f318a2f85c849b11a3c38f00c576b /eval.c
parent56553684679e8160f7fdfaad746fd4b881b8ff3d (diff)
* lex.c (rb_reserved_word): lex_state after tRESCUE should be
EXPR_MID. * gc.c (add_heap): allocation size of the heap unit is doubled for each allocation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/eval.c b/eval.c
index 7478161c93..565c1d9147 100644
--- a/eval.c
+++ b/eval.c
@@ -4127,15 +4127,15 @@ rb_undefined(obj, id, argc, argv, call_status)
}
#ifdef DJGPP
-static int STACK_LEVEL_MAX = 65535;
+static unsigned int STACK_LEVEL_MAX = 65535;
#else
#ifdef __human68k__
-extern int _stacksize;
+extern unsigned int _stacksize;
# define STACK_LEVEL_MAX (_stacksize - 4096)
#undef HAVE_GETRLIMIT
#else
#ifdef HAVE_GETRLIMIT
-static int STACK_LEVEL_MAX = 655300;
+static unsigned int STACK_LEVEL_MAX = 655300;
#else
# define STACK_LEVEL_MAX 655300
#endif