diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-28 17:36:24 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-28 17:36:24 +0100 |
commit | e4fa2186f971a079af4bb7e1cdb4994bc615988f (patch) | |
tree | 029cf2cedbdb00c74ca30a2f6e8f10bcb1762142 /serialize/scenery.cpp | |
parent | a35d3eb228423dd0bc654ca253888c4032978923 (diff) |
serialize: fix printf format string
Diffstat (limited to 'serialize/scenery.cpp')
-rw-r--r-- | serialize/scenery.cpp | 2 |
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 |