aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/dispman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/dispman.cpp')
-rw-r--r--engines/lab/dispman.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lab/dispman.cpp b/engines/lab/dispman.cpp
index a332a57e7d..5dba424018 100644
--- a/engines/lab/dispman.cpp
+++ b/engines/lab/dispman.cpp
@@ -379,10 +379,10 @@ void DisplayMan::rectFill(Common::Rect fillRect, byte color) {
height = _screenHeight - fillRect.top;
if ((width > 0) && (height > 0)) {
- char *d = (char *)getCurrentDrawingBuffer() + fillRect.top * _screenWidth + fillRect.left;
+ byte *d = getCurrentDrawingBuffer() + fillRect.top * _screenWidth + fillRect.left;
while (height-- > 0) {
- char *dd = d;
+ byte *dd = d;
int ww = width;
while (ww-- > 0) {