aboutsummaryrefslogtreecommitdiff
path: root/engines/adl/display.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/adl/display.cpp')
-rw-r--r--engines/adl/display.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/adl/display.cpp b/engines/adl/display.cpp
index f2285a7248..736b09497b 100644
--- a/engines/adl/display.cpp
+++ b/engines/adl/display.cpp
@@ -53,7 +53,7 @@ void Display::createTextBuffer(uint textWidth, uint textHeight) {
_textHeight = textHeight;
_textBuf = new byte[textWidth * textHeight];
- memset(_textBuf, asciiToNative(' '), textWidth * textHeight);
+ memset(_textBuf, (byte)asciiToNative(' '), textWidth * textHeight);
}
void Display::setMode(Display::Mode mode) {
@@ -88,7 +88,7 @@ void Display::copyGfxSurface() {
}
void Display::home() {
- memset(_textBuf, asciiToNative(' '), _textWidth * _textHeight);
+ memset(_textBuf, (byte)asciiToNative(' '), _textWidth * _textHeight);
_cursorPos = 0;
}