From bd7f00bd9c7adb57ae5ec1934cfbd091c2cc9153 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 4 Jun 2019 15:43:44 -0400 Subject: [PATCH] Resolves a further handful of implicit type conversion warnings. --- Processors/68000/Implementation/68000Implementation.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Processors/68000/Implementation/68000Implementation.hpp b/Processors/68000/Implementation/68000Implementation.hpp index c66c22359..3f78bfd5c 100644 --- a/Processors/68000/Implementation/68000Implementation.hpp +++ b/Processors/68000/Implementation/68000Implementation.hpp @@ -1981,7 +1981,7 @@ template void Proces #define CalculateD8AnXn(data, source, target) {\ const auto register_index = (data.full >> 12) & 7; \ const RegisterPair32 &displacement = (data.full & 0x8000) ? address_[register_index] : data_[register_index]; \ - target.full = int8_t(data.halves.low) + source; \ + target.full = uint32_t(int8_t(data.halves.low)) + source; \ \ if(data.full & 0x800) { \ target.full += displacement.full; \