From d0f6bb440a038fd01550e9b5b4952d5946dba12f Mon Sep 17 00:00:00 2001 From: rakshasa Date: Mon, 7 May 2012 02:25:37 +0900 Subject: [PATCH] Fixed clang compilation issues. --- src/command_local.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command_local.cc b/src/command_local.cc index d88b8c0a..7df4ec7f 100644 --- a/src/command_local.cc +++ b/src/command_local.cc @@ -263,10 +263,10 @@ file_print_list(torrent::Object::list_const_iterator first, torrent::Object::lis while (first != last) { switch (first->type()) { case torrent::Object::TYPE_STRING: - fprintf(output, " %s" + !(flags & file_print_use_space), first->as_string().c_str()); + fprintf(output, (const char*)" %s" + !(flags & file_print_use_space), first->as_string().c_str()); break; case torrent::Object::TYPE_VALUE: - fprintf(output, " %lli" + !(flags & file_print_use_space), first->as_value()); + fprintf(output, (const char*)" %lli" + !(flags & file_print_use_space), first->as_value()); break; case torrent::Object::TYPE_LIST: file_print_list(first->as_list().begin(), first->as_list().end(), output, 0);