summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/cassimg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/formats/cassimg.cpp')
-rw-r--r--src/lib/formats/cassimg.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/formats/cassimg.cpp b/src/lib/formats/cassimg.cpp
index 58add1aaed0..ad6ec84cf39 100644
--- a/src/lib/formats/cassimg.cpp
+++ b/src/lib/formats/cassimg.cpp
@@ -35,12 +35,7 @@ CASSETTE_FORMATLIST_END
static double map_double(double d, UINT64 low, UINT64 high, UINT64 value)
{
-#if defined(_MSC_VER) && (_MSC_VER <= 1200)
- /* casting unsigned __int64 to double is not supported on VC6 or before */
- return d * (INT64)(value - low) / (INT64)(high - low);
-#else
return d * (value - low) / (high - low);
-#endif
}