mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 03:32:32 +00:00
Signedness fixes.
This commit is contained in:
parent
53f0e1896b
commit
64865b3f41
@ -403,7 +403,7 @@ void WD1770::posit_event(Event new_event_type) {
|
|||||||
goto verify;
|
goto verify;
|
||||||
}
|
}
|
||||||
step(step_direction_ ? 1 : -1);
|
step(step_direction_ ? 1 : -1);
|
||||||
int time_to_wait;
|
unsigned int time_to_wait;
|
||||||
switch(command_ & 3) {
|
switch(command_ & 3) {
|
||||||
default:
|
default:
|
||||||
case 0: time_to_wait = 6; break;
|
case 0: time_to_wait = 6; break;
|
||||||
|
@ -126,7 +126,7 @@ void TZX::get_generalised_segment(uint32_t output_symbols, uint8_t max_pulses_pe
|
|||||||
base <<= 1;
|
base <<= 1;
|
||||||
bits++;
|
bits++;
|
||||||
}
|
}
|
||||||
for(int c = 0; c < output_symbols; c++) {
|
for(size_t c = 0; c < output_symbols; c++) {
|
||||||
uint8_t symbol_value;
|
uint8_t symbol_value;
|
||||||
int count;
|
int count;
|
||||||
if(is_data) {
|
if(is_data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user