summaryrefslogtreecommitdiffstats
path: root/kpacman/bitfont.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpacman/bitfont.cpp')
-rw-r--r--kpacman/bitfont.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kpacman/bitfont.cpp b/kpacman/bitfont.cpp
index 28a265e..f1535fb 100644
--- a/kpacman/bitfont.cpp
+++ b/kpacman/bitfont.cpp
@@ -26,7 +26,7 @@ TQPixmap Bitfont::text(TQString str, TQColor fg, TQColor bg)
TQPixmap FG(str.length()*fontWidth, fontHeight);
TQBitmap MASK(str.length()*fontWidth, fontHeight, TRUE);
- const uchar *s = str.latin1();
+ const uchar *s = reinterpret_cast<const unsigned char *>(str.latin1());
for (uint i = 0; i < str.length(); i++) {
if (font.width() == font.height())
bitBlt(&MASK, i*fontWidth, 0, &font,