diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | eval.c | 6 |
2 files changed, 8 insertions, 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 @@ -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 |