diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-18 08:05:32 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-18 08:05:32 +0000 |
commit | e07cb859cc882adc05f818466b45e75f1d5a1e39 (patch) | |
tree | bdb9cf7c15bd7db7fdaa0ddf4ee53e03e58f5780 /dir.c | |
parent | 0f6d9dfc96c145e69b94d24d51d98480abd72ae1 (diff) | |
download | ruby-e07cb859cc882adc05f818466b45e75f1d5a1e39.tar.gz |
* suppressed shorten-64-to-32 warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -701,7 +701,7 @@ static VALUE chdir_yield(struct chdir_data *args) { dir_chdir(args->new_path); - args->done = Qtrue; + args->done = TRUE; chdir_blocking++; if (chdir_thread == Qnil) chdir_thread = rb_thread_current(); @@ -788,7 +788,7 @@ dir_s_chdir(int argc, VALUE *argv, VALUE obj) args.old_path = rb_tainted_str_new2(cwd); xfree(cwd); args.new_path = path; - args.done = Qfalse; + args.done = FALSE; return rb_ensure(chdir_yield, (VALUE)&args, chdir_restore, (VALUE)&args); } dir_chdir(path); |