From a2ca887b9995203ea92a04446a9742f633fdd623 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 3 Oct 2019 22:47:41 -0400 Subject: [PATCH] Removes unused includes. --- Storage/Disk/DiskImage/Formats/SSD.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Storage/Disk/DiskImage/Formats/SSD.cpp b/Storage/Disk/DiskImage/Formats/SSD.cpp index e46b74fdc..71cc6ba0b 100644 --- a/Storage/Disk/DiskImage/Formats/SSD.cpp +++ b/Storage/Disk/DiskImage/Formats/SSD.cpp @@ -8,10 +8,6 @@ #include "SSD.hpp" -#include - -#include "Utility/ImplicitSectors.hpp" - namespace { static const int sectors_per_track = 10; static const int sector_size = 1; @@ -29,7 +25,7 @@ SSD::SSD(const std::string &file_name) : MFMSectorDump(file_name) { // this has two heads if the suffix is .dsd, one if it's .ssd head_count_ = (tolower(file_name[file_name.size() - 3]) == 'd') ? 2 : 1; - track_count_ = static_cast(file_.stats().st_size / (256 * 10)); + track_count_ = int(file_.stats().st_size / (256 * 10)); if(track_count_ < 40) track_count_ = 40; else if(track_count_ < 80) track_count_ = 80;