From d7eec7e859350ad5e2e3500fa43a4f0cebba6eaa Mon Sep 17 00:00:00 2001
From: Jason Hiser <jdhiser@gmail.com>
Date: Thu, 16 May 2019 00:46:15 +0000
Subject: [PATCH] changed int8_t to char for string::value_type for when
 int8_t!=char

---
 builtin_xforms/p1transform/P1_utility.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builtin_xforms/p1transform/P1_utility.cpp b/builtin_xforms/p1transform/P1_utility.cpp
index 988944738..83d12539c 100644
--- a/builtin_xforms/p1transform/P1_utility.cpp
+++ b/builtin_xforms/p1transform/P1_utility.cpp
@@ -236,7 +236,7 @@ Instruction_t* getHandlerCode(FileIR_t* virp, Instruction_t* fallthrough, mitiga
 		}
 
 		const auto func_id       = fallthrough->getFunction()->getBaseID();
-		auto new_insn_bits_start = string{0x48, (int8_t)0xc7, 0x05, (int8_t)0xf5, (int8_t)0xff, (int8_t)0xff, (int8_t)0xff}; 
+		auto new_insn_bits_start = string{0x48, (char)0xc7, 0x05, (char)0xf5, (char)0xff, (char)0xff, (char)0xff}; 
 		auto new_insn_bits       = new_insn_bits_start + string(reinterpret_cast<const char*>(&func_id), 4);
 
 		// note: updates handler_code to be the newly inserted instruction
-- 
GitLab