summaryrefslogtreecommitdiffhomepage
path: root/serialize/scenery.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-28 17:36:24 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-28 17:36:24 +0100
commite4fa2186f971a079af4bb7e1cdb4994bc615988f (patch)
tree029cf2cedbdb00c74ca30a2f6e8f10bcb1762142 /serialize/scenery.cpp
parenta35d3eb228423dd0bc654ca253888c4032978923 (diff)
serialize: fix printf format string
Diffstat (limited to 'serialize/scenery.cpp')
-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