summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-07 06:35:11 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-07 06:35:11 +0100
commit9045f8cb38893d1bc75275e2773052f8e75af5c7 (patch)
treec52a091fd0efcb089dda8cea1af9e9e05baba0f6 /editor
parent1032fb9f541932b04c7082c5f0f38f283949db94 (diff)
fix broken gcc warning
Diffstat (limited to 'editor')
-rw-r--r--editor/tile-editor.cpp2
1 files changed, 1 insertions, 1 deletions
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: