aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--queen/display.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/queen/display.cpp b/queen/display.cpp
index 9e2e85f7e8..603bb5b0ae 100644
--- a/queen/display.cpp
+++ b/queen/display.cpp
@@ -46,8 +46,8 @@ void TextRenderer::init() {
}
charWidth[i] += 2;
}
- charWidth[' '] = 4;
- --charWidth['^'];
+ charWidth[(int)' '] = 4;
+ --charWidth[(int)'^'];
}