1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-26 09:29:45 +00:00

Resolves some type conversion warnings.

This commit is contained in:
Thomas Harte 2019-07-26 23:20:40 -04:00
parent 39d7e3c62c
commit b7b62aa3f6

View File

@ -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_;