From 9045f8cb38893d1bc75275e2773052f8e75af5c7 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 7 Nov 2022 06:35:11 +0100 Subject: fix broken gcc warning --- editor/tile-editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/tile-editor.cpp b/editor/tile-editor.cpp index 9013536f..87d869b8 100644 --- a/editor/tile-editor.cpp +++ b/editor/tile-editor.cpp @@ -185,7 +185,7 @@ void tile_editor::set_rotation(editor_wall_rotation r) switch (r) { default: - fm_warn_once("invalid rotation '0x%hhx", r); + fm_warn_once("invalid rotation '0x%hhx", (char)r); return; case editor_wall_rotation::W: case editor_wall_rotation::N: -- cgit v1.2.3