summaryrefslogtreecommitdiff
path: root/src/graphics/Graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics/Graphics.cpp')
-rw-r--r--src/graphics/Graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics/Graphics.cpp b/src/graphics/Graphics.cpp
index aa00821..c70344b 100644
--- a/src/graphics/Graphics.cpp
+++ b/src/graphics/Graphics.cpp
@@ -586,7 +586,7 @@ int Graphics::textwidth(const char *s)
return x-1;
}
-int Graphics::CharWidth(char c)
+int Graphics::CharWidth(unsigned char c)
{
return font_data[font_ptrs[(int)c]];
}