diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-28 18:55:14 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-28 18:55:14 +0100 |
commit | 9236dae6b3357c83de469947add0bf9c169367c5 (patch) | |
tree | 019eae01571765f182b75edae4da6fd6174c7a6d /serialize | |
parent | e4fa2186f971a079af4bb7e1cdb4994bc615988f (diff) |
serialize: fix bogus gcc warning
Diffstat (limited to 'serialize')
-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 354e7b75..073ae255 100644 --- a/serialize/scenery.cpp +++ b/serialize/scenery.cpp @@ -118,7 +118,7 @@ void adl_serializer<scenery_proto>::from_json(const json& j, scenery_proto& val) switch (type) { default: - fm_abort("unhandled scenery type '%hhu'", type); + fm_abort("unhandled scenery type '%u'", (unsigned)type); case scenery_type::generic: f = { scenery::generic, *atlas, r, frame, passable, blocks_view, animated, active }; break; |