1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-01 14:29:51 +00:00

Signedness fixes.

This commit is contained in:
Thomas Harte 2017-07-21 21:23:34 -04:00
parent 53f0e1896b
commit 64865b3f41
2 changed files with 2 additions and 2 deletions

View File

@ -403,7 +403,7 @@ void WD1770::posit_event(Event new_event_type) {
goto verify;
}
step(step_direction_ ? 1 : -1);
int time_to_wait;
unsigned int time_to_wait;
switch(command_ & 3) {
default:
case 0: time_to_wait = 6; break;

View File

@ -126,7 +126,7 @@ void TZX::get_generalised_segment(uint32_t output_symbols, uint8_t max_pulses_pe
base <<= 1;
bits++;
}
for(int c = 0; c < output_symbols; c++) {
for(size_t c = 0; c < output_symbols; c++) {
uint8_t symbol_value;
int count;
if(is_data) {