diff options
Diffstat (limited to 'src/lib/formats/flopimg.cpp')
-rw-r--r-- | src/lib/formats/flopimg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/flopimg.cpp b/src/lib/formats/flopimg.cpp index 9322551124b..cb8d6ca1300 100644 --- a/src/lib/formats/flopimg.cpp +++ b/src/lib/formats/flopimg.cpp @@ -876,7 +876,7 @@ const char *floppy_error(floperr_t err) "Required parameter not specified" }; - if ((err < 0) || (err >= ARRAY_LENGTH(error_messages))) + if ((err < 0) || (err >= std::size(error_messages))) return nullptr; return error_messages[err]; } |