summaryrefslogtreecommitdiffhomepage
path: root/serialize
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-28 18:55:14 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-28 18:55:14 +0100
commit9236dae6b3357c83de469947add0bf9c169367c5 (patch)
tree019eae01571765f182b75edae4da6fd6174c7a6d /serialize
parente4fa2186f971a079af4bb7e1cdb4994bc615988f (diff)
serialize: fix bogus gcc warning
Diffstat (limited to 'serialize')
-rw-r--r--serialize/scenery.cpp2
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;