aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--eval.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index bb05a7ae8a..8ef34a5d9e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/eval.c b/eval.c
index 8fc06da910..f33d80360a 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