From 582329ffc638f55549c99b0d4b1f46fe336c0f92 Mon Sep 17 00:00:00 2001 From: Danila Malyutin Date: Sun, 26 Jul 2015 23:24:37 +0300 Subject: [PATCH] Fixes for some of clang warnings --- rpcs3/Emu/Cell/PPUInterpreter.h | 2 +- rpcs3/Emu/Cell/PPULLVMRecompiler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/Cell/PPUInterpreter.h b/rpcs3/Emu/Cell/PPUInterpreter.h index 6473af2817..94948cc7bd 100644 --- a/rpcs3/Emu/Cell/PPUInterpreter.h +++ b/rpcs3/Emu/Cell/PPUInterpreter.h @@ -4390,7 +4390,7 @@ private: else { CPU.SetFPSCR_FI(1); - CPU.FPSCR.FR = abs(bfi) > abs(bi); + CPU.FPSCR.FR = std::abs(bfi) > std::abs(bi); } CPU.FPR[frd] = bf; diff --git a/rpcs3/Emu/Cell/PPULLVMRecompiler.h b/rpcs3/Emu/Cell/PPULLVMRecompiler.h index 3ca6a8878f..ccc05bcc92 100644 --- a/rpcs3/Emu/Cell/PPULLVMRecompiler.h +++ b/rpcs3/Emu/Cell/PPULLVMRecompiler.h @@ -1228,7 +1228,7 @@ namespace ppu_recompiler_llvm { {} ~CustomSectionMemoryManager() override {} - virtual uint64_t getSymbolAddress(const std::string &Name) + virtual uint64_t getSymbolAddress(const std::string &Name) override { std::unordered_map::const_iterator It = executableMap.find(Name); if (It != executableMap.end())