From 7907b5afee719a812416adfbe33206600b9b5d7a Mon Sep 17 00:00:00 2001 From: AJR Date: Sat, 4 Aug 2018 12:49:25 -0400 Subject: ti99_dsk.cpp: More appropriate variable type which will hopefully make MSVC happy (nw) --- src/lib/formats/ti99_dsk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/formats/ti99_dsk.cpp b/src/lib/formats/ti99_dsk.cpp index aa7c987c05c..1218d1beb90 100644 --- a/src/lib/formats/ti99_dsk.cpp +++ b/src/lib/formats/ti99_dsk.cpp @@ -345,7 +345,7 @@ void ti99_floppy_format::generate_fm_track_from_sectors(floppy_image *image, uin // The remaining bytes are filled with the gap byte as gap 4. int gap4 = cell_count/16 - tracklen; - short crc = 0; + uint16_t crc = 0; // Create Gap 0 and Index AM for (int i=0; i < param[GAP0]; i++) -- cgit v1.2.3