aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorMax Horn2007-03-08 20:44:43 +0000
committerMax Horn2007-03-08 20:44:43 +0000
commit783a6d7d59f8a96e21d7bed2c5111969a366f1da (patch)
tree39ede39d7451b2eeb4285ce9c50a0a70bac91c5b /engines/kyra
parenteeda548204e78e7bde38396e7de094b75aed6931 (diff)
downloadscummvm-rg350-783a6d7d59f8a96e21d7bed2c5111969a366f1da.tar.gz
scummvm-rg350-783a6d7d59f8a96e21d7bed2c5111969a366f1da.tar.bz2
scummvm-rg350-783a6d7d59f8a96e21d7bed2c5111969a366f1da.zip
Fixed const issue (casting const to non-const)
svn-id: r26027
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp
index 6ef9ee9c21..1ca67fc1d1 100644
--- a/engines/kyra/screen.cpp
+++ b/engines/kyra/screen.cpp
@@ -2489,7 +2489,7 @@ void Screen::loadPalette(const char *filename, uint8 *palData) {
}
void Screen::loadPalette(const byte *data, uint8 *palData, int bytes) {
- debugC(9, kDebugLevelScreen, "Screen::loadPalette(%p, %p %d)", (void *)data, (void *)palData, bytes);
+ debugC(9, kDebugLevelScreen, "Screen::loadPalette(%p, %p %d)", (const void *)data, (void *)palData, bytes);
memcpy(palData, data, bytes);
}