aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2012-06-16 02:32:42 +0200
committerJohannes Schickel2012-06-16 02:38:56 +0200
commitd4a5615a8bc50c6f5f9221a71135d9b4f5726522 (patch)
tree744e2e3d16630c97f147b969b2e0e9617c115878
parent31880186e1c78023e2e552a7fceaa27c3d2d08b1 (diff)
downloadscummvm-rg350-d4a5615a8bc50c6f5f9221a71135d9b4f5726522.tar.gz
scummvm-rg350-d4a5615a8bc50c6f5f9221a71135d9b4f5726522.tar.bz2
scummvm-rg350-d4a5615a8bc50c6f5f9221a71135d9b4f5726522.zip
CGE: Get rid of casts on OSystem::copyRectToScreen calls.
-rw-r--r--engines/cge/vga13h.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge/vga13h.cpp b/engines/cge/vga13h.cpp
index 186de24036..3800b6643a 100644
--- a/engines/cge/vga13h.cpp
+++ b/engines/cge/vga13h.cpp
@@ -834,7 +834,7 @@ void Vga::update() {
}
}
- g_system->copyRectToScreen((const byte *)Vga::_page[0]->getBasePtr(0, 0), kScrWidth, 0, 0, kScrWidth, kScrHeight);
+ g_system->copyRectToScreen(Vga::_page[0]->getBasePtr(0, 0), kScrWidth, 0, 0, kScrWidth, kScrHeight);
g_system->updateScreen();
}