From 6e4122d1ba6b1abe51583fb36ef23f3d788d4a94 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 2 Nov 2009 05:52:55 +0000 Subject: * eval.c (rb_exc_raise, rb_exc_fatal, rb_make_exception): suppressed shorten-64-to-32 warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ eval.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index bb05a7ae8..8ef34a5d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Nov 2 14:52:53 2009 Nobuyoshi Nakada + + * 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 * thread_pthread.c (native_stop_timer_thread): delay joinning timer diff --git a/eval.c b/eval.c index 8fc06da91..f33d80360 100644 --- a/eval.c +++ b/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 -- cgit