summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--serialize/scenery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize/scenery.cpp b/serialize/scenery.cpp
index e12df693..354e7b75 100644
--- a/serialize/scenery.cpp
+++ b/serialize/scenery.cpp
@@ -50,7 +50,7 @@ StringView foo_to_string(auto type, const T(&map)[N], const char* desc)
for (const auto& [type2, str] : map)
if (type2 == type)
return str;
- fm_abort("wrong %s enum '%hhu'", desc, type);
+ fm_abort("wrong %s enum '%zu'", desc, (std::size_t)type);
}
} // namespace