summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index 49364df54b..f4cd910e3d 100644
--- a/eval.c
+++ b/eval.c
@@ -758,7 +758,7 @@ error_print()
putc('\n', stderr);
}
else {
- UCHAR *tail = 0;
+ char *tail = 0;
int len = RSTRING(einfo)->len;
if (RSTRING(epath)->ptr[0] == '#') epath = 0;
@@ -2791,7 +2791,7 @@ rb_yield_0(val, self)
struct SCOPE *old_scope;
struct FRAME frame;
int state;
- static USHORT serial = 1;
+ static unsigned serial = 1;
if (!iterator_p()) {
Raise(eLocalJumpError, "yield called out of iterator");