summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authormichal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-28 08:05:23 +0000
committermichal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-28 08:05:23 +0000
commit0d0ae37e508788ea52e2e2cf477877ee58fa79dd (patch)
tree300e3a58cac901929c00518abaf11d7d3caaeb50 /eval.c
parent3685a85b3d60bb6bdee18b3634ec8e264d8031c5 (diff)
Int vs Long cleanup #3 (ruby-core:352)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2754 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 f7b865a..425ee5a 100644
--- a/eval.c
+++ b/eval.c
@@ -1006,7 +1006,7 @@ error_print()
}
else {
char *tail = 0;
- int len = elen;
+ long len = elen;
if (RSTRING(epath)->ptr[0] == '#') epath = 0;
if (tail = strchr(einfo, '\n')) {
@@ -3518,12 +3518,12 @@ rb_mod_method_defined(mod, mid)
return Qfalse;
}
-NORETURN(static void terminate_process _((int, const char*, int)));
+NORETURN(static void terminate_process _((int, const char*, long)));
static void
terminate_process(status, mesg, mlen)
int status;
const char *mesg;
- int mlen;
+ long mlen;
{
VALUE exit = rb_exc_new(rb_eSystemExit, mesg, mlen);