diff --git a/Storage/Disk/DiskImage/Formats/G64.cpp b/Storage/Disk/DiskImage/Formats/G64.cpp index 2421a6d05..ade35d6b9 100644 --- a/Storage/Disk/DiskImage/Formats/G64.cpp +++ b/Storage/Disk/DiskImage/Formats/G64.cpp @@ -89,7 +89,7 @@ std::shared_ptr G64::get_track_at_position(Track::Address address) { unsigned int start_byte_in_current_speed = 0; for(unsigned int byte = 0; byte < track_length; byte ++) { unsigned int byte_speed = speed_zone_contents[byte >> 2] >> (6 - (byte&3)*2); - if(byte_speed != current_speed || byte == (track_length-1)) { + if(byte_speed != current_speed || byte == static_cast(track_length-1)) { unsigned int number_of_bytes = byte - start_byte_in_current_speed; PCMSegment segment;