From f3ee2ac9ef24b9d62a380a55c035a12e833046e5 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Wed, 21 Jan 2015 01:46:59 +0300 Subject: [PATCH] Compilation fix --- rpcs3/Emu/ARMv7/Modules/sceLibc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/ARMv7/Modules/sceLibc.cpp b/rpcs3/Emu/ARMv7/Modules/sceLibc.cpp index 5c5e7599f8..79d53bf830 100644 --- a/rpcs3/Emu/ARMv7/Modules/sceLibc.cpp +++ b/rpcs3/Emu/ARMv7/Modules/sceLibc.cpp @@ -1,4 +1,4 @@ -#include "stdafx.h" +#include "stdafx.h" #include "Utilities/Log.h" #include "Emu/System.h" #include "Emu/Memory/Memory.h" @@ -44,7 +44,7 @@ namespace sce_libc_func case '%': { const auto start = fmt - 1; - const bool = *fmt == '#' ? fmt++, true : false; + const bool number_sign = *fmt == '#' ? fmt++, true : false; switch (*fmt++) { @@ -67,7 +67,7 @@ namespace sce_libc_func // hexadecimal const u64 value = context.get_next_gpr_arg(g_count, f_count, v_count); - if ( && value) + if (number_sign && value) { result += "0x"; }