From 20125b51c49004c827fde6011a3e4c873b47c1f3 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Mon, 5 Oct 2009 21:47:28 +0000 Subject: SCI: Fix error message svn-id: r44680 --- engines/sci/gui/gui_picture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci') diff --git a/engines/sci/gui/gui_picture.cpp b/engines/sci/gui/gui_picture.cpp index 4dba63ab96..e3b89ca816 100644 --- a/engines/sci/gui/gui_picture.cpp +++ b/engines/sci/gui/gui_picture.cpp @@ -429,7 +429,7 @@ void SciGuiPicture::drawVectorData(byte *data, int dataSize) { case PIC_OPX_EGA_SET_PALETTE: byte = data[curPos++]; if (byte >= PIC_EGAPALETTE_COUNT) { - error("picture trying to write to invalid palette %d", EGApalette); + error("picture trying to write to invalid palette %d", (int)byte); } byte *= PIC_EGAPALETTE_SIZE; for (i = 0; i < PIC_EGAPALETTE_SIZE; i++) { -- cgit v1.2.3