summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/apridisk.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-08-01 01:17:27 +1000
committer Vas Crabb <vas@vastheman.com>2016-08-01 01:20:03 +1000
commita0ce6c3b37050c1a765ae13babb109c729153989 (patch)
tree8ae40b20d0271d82d5780fd588e73a3f34313b98 /src/lib/formats/apridisk.cpp
parentf127621e13050aad6b455ebfadec5bfdcbdd00d4 (diff)
fix after pass through the diff
Diffstat (limited to 'src/lib/formats/apridisk.cpp')
-rw-r--r--src/lib/formats/apridisk.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/formats/apridisk.cpp b/src/lib/formats/apridisk.cpp
index 08fd6777bd9..a004d54ccd0 100644
--- a/src/lib/formats/apridisk.cpp
+++ b/src/lib/formats/apridisk.cpp
@@ -74,9 +74,9 @@ bool apridisk_format::load(io_generic *io, UINT32 form_factor, floppy_image *ima
UINT8 sector = pick_integer_le(&sector_header, 13, 1);
UINT8 track = (UINT8) pick_integer_le(&sector_header, 14, 2);
- track_count = std::max(track_count, int(track));
- head_count = std::max(head_count, int(head));
- sector_count = std::max(sector_count, int(sector));
+ track_count = std::max(track_count, int(unsigned(track)));
+ head_count = std::max(head_count, int(unsigned(head)));
+ sector_count = std::max(sector_count, int(unsigned(sector)));
// build sector info
sectors[track][head][sector - 1].head = head;