summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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: