summaryrefslogtreecommitdiffstats
path: root/src/tools/floptool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/floptool.cpp')
-rw-r--r--src/tools/floptool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/floptool.cpp b/src/tools/floptool.cpp
index 534349e4089..4f1e0172444 100644
--- a/src/tools/floptool.cpp
+++ b/src/tools/floptool.cpp
@@ -131,7 +131,7 @@ void CLIB_DECL ATTR_PRINTF(1,2) logerror(const char *format, ...)
va_end(arg);
}
-enum { FORMAT_COUNT = ARRAY_LENGTH(floppy_formats) };
+static constexpr size_t FORMAT_COUNT = std::size(floppy_formats);
static floppy_image_format_t *formats[FORMAT_COUNT];
static std::vector<uint32_t> variants;