From b7b62aa3f613c3dcf930bce684ba08cee70c7909 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 26 Jul 2019 23:20:40 -0400 Subject: [PATCH] Resolves some type conversion warnings. --- Processors/68000/Implementation/68000Storage.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Processors/68000/Implementation/68000Storage.cpp b/Processors/68000/Implementation/68000Storage.cpp index 82eb8f651..3312aa8c2 100644 --- a/Processors/68000/Implementation/68000Storage.cpp +++ b/Processors/68000/Implementation/68000Storage.cpp @@ -3013,7 +3013,7 @@ struct ProcessorStorageConstructor { } if(storage_.all_micro_ops_[index].is_terminal()) { - storage_.all_micro_ops_[index].bus_program = seq(""); + storage_.all_micro_ops_[index].bus_program = uint16_t(seq("")); } } @@ -3259,10 +3259,10 @@ CPU::MC68000::ProcessorStorage::ProcessorStorage() { // Complete linkage of the exception micro program. short_exception_micro_ops_ = &all_micro_ops_[short_exception_offset]; - short_exception_micro_ops_->bus_program = trap_offset; + short_exception_micro_ops_->bus_program = uint16_t(trap_offset); long_exception_micro_ops_ = &all_micro_ops_[long_exception_offset]; - long_exception_micro_ops_->bus_program = bus_error_offset; + long_exception_micro_ops_->bus_program = uint16_t(bus_error_offset); // Set initial state. active_step_ = reset_bus_steps_;