From 783a6d7d59f8a96e21d7bed2c5111969a366f1da Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 8 Mar 2007 20:44:43 +0000 Subject: Fixed const issue (casting const to non-const) svn-id: r26027 --- engines/kyra/screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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); } -- cgit v1.2.3