mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (rb_exc_raise, rb_exc_fatal, rb_make_exception):
suppressed shorten-64-to-32 warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
409033efca
commit
9c173cd588
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Nov 2 14:52:53 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* eval.c (rb_exc_raise, rb_exc_fatal, rb_make_exception):
|
||||
suppressed shorten-64-to-32 warnings.
|
||||
|
||||
Mon Nov 2 14:43:48 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* thread_pthread.c (native_stop_timer_thread): delay joinning timer
|
||||
|
|
6
eval.c
6
eval.c
|
@ -431,7 +431,7 @@ void
|
|||
rb_exc_raise(VALUE mesg)
|
||||
{
|
||||
if (!NIL_P(mesg)) {
|
||||
mesg = make_exception(1, &mesg, Qfalse);
|
||||
mesg = make_exception(1, &mesg, FALSE);
|
||||
}
|
||||
rb_longjmp(TAG_RAISE, mesg);
|
||||
}
|
||||
|
@ -440,7 +440,7 @@ void
|
|||
rb_exc_fatal(VALUE mesg)
|
||||
{
|
||||
if (!NIL_P(mesg)) {
|
||||
mesg = make_exception(1, &mesg, Qfalse);
|
||||
mesg = make_exception(1, &mesg, FALSE);
|
||||
}
|
||||
rb_longjmp(TAG_FATAL, mesg);
|
||||
}
|
||||
|
@ -543,7 +543,7 @@ make_exception(int argc, VALUE *argv, int isstr)
|
|||
VALUE
|
||||
rb_make_exception(int argc, VALUE *argv)
|
||||
{
|
||||
return make_exception(argc, argv, Qtrue);
|
||||
return make_exception(argc, argv, TRUE);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue