diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-02 05:52:55 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-02 05:52:55 +0000 |
| commit | 6e4122d1ba6b1abe51583fb36ef23f3d788d4a94 (patch) | |
| tree | 2da74a3ed6491f5f681dbc53fe09582baa68a2b0 | |
| parent | 1592a4d1ef044f3eae12b7df3f53903143718cea (diff) | |
| download | ruby-6e4122d1ba6b1abe51583fb36ef23f3d788d4a94.tar.gz ruby-6e4122d1ba6b1abe51583fb36ef23f3d788d4a94.tar.xz ruby-6e4122d1ba6b1abe51583fb36ef23f3d788d4a94.zip | |
* 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
| -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 |
