From 0d0ae37e508788ea52e2e2cf477877ee58fa79dd Mon Sep 17 00:00:00 2001 From: michal Date: Wed, 28 Aug 2002 08:05:23 +0000 Subject: 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 --- eval.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'eval.c') diff --git a/eval.c b/eval.c index f7b865ab7a..425ee5a361 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); -- cgit v1.2.3