From 9236dae6b3357c83de469947add0bf9c169367c5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 28 Nov 2022 18:55:14 +0100 Subject: serialize: fix bogus gcc warning --- serialize/scenery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::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; -- cgit v1.2.3