diff options
author | michal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-08-28 08:05:23 +0000 |
---|---|---|
committer | michal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-08-28 08:05:23 +0000 |
commit | 0d0ae37e508788ea52e2e2cf477877ee58fa79dd (patch) | |
tree | 300e3a58cac901929c00518abaf11d7d3caaeb50 /eval.c | |
parent | 3685a85b3d60bb6bdee18b3634ec8e264d8031c5 (diff) | |
download | ruby-0d0ae37e508788ea52e2e2cf477877ee58fa79dd.tar.gz |
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |