From 3072571a4fed63755c47584b8c7aa4e199cdcde6 Mon Sep 17 00:00:00 2001 From: scribam Date: Sun, 9 Sep 2018 17:05:56 +0200 Subject: [PATCH] cpu: use correct type when defining llvm value is_int constexpr --- rpcs3/Emu/CPU/CPUTranslator.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/CPU/CPUTranslator.h b/rpcs3/Emu/CPU/CPUTranslator.h index 739320abec..9a61cf769f 100644 --- a/rpcs3/Emu/CPU/CPUTranslator.h +++ b/rpcs3/Emu/CPU/CPUTranslator.h @@ -77,7 +77,7 @@ struct llvm_value_t : llvm_value_t using base::base; static constexpr uint esize = 1; - static constexpr uint is_int = true; + static constexpr bool is_int = true; static llvm::Type* get_type(llvm::LLVMContext& context) { @@ -93,7 +93,7 @@ struct llvm_value_t : llvm_value_t using base::base; static constexpr uint esize = 2; - static constexpr uint is_int = true; + static constexpr bool is_int = true; static llvm::Type* get_type(llvm::LLVMContext& context) { @@ -109,7 +109,7 @@ struct llvm_value_t : llvm_value_t using base::base; static constexpr uint esize = 4; - static constexpr uint is_int = true; + static constexpr bool is_int = true; static llvm::Type* get_type(llvm::LLVMContext& context) {