From 3620b19b214796ff7fce11bf54fca9db8ee673cb Mon Sep 17 00:00:00 2001 From: Vincent Hamm Date: Sat, 3 Nov 2007 22:47:19 +0000 Subject: [PATCH] Fix build svn-id: r29391 --- engines/cruise/ctp.cpp | 2 +- engines/cruise/mainDraw.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/cruise/ctp.cpp b/engines/cruise/ctp.cpp index 708d12a72e1..7922d2c7205 100644 --- a/engines/cruise/ctp.cpp +++ b/engines/cruise/ctp.cpp @@ -160,7 +160,7 @@ void renderCTPWalkBox(int X1, int Y1, int X2, int scale, int Y2, walkboxTable[i] = i; } - drawPolyMode2((char *)walkboxTable, numPoints); + drawPolyMode2((unsigned char *)walkboxTable, numPoints); } // this process the walkboxes diff --git a/engines/cruise/mainDraw.h b/engines/cruise/mainDraw.h index 70f7eab11b5..90dd4881a8d 100644 --- a/engines/cruise/mainDraw.h +++ b/engines/cruise/mainDraw.h @@ -42,8 +42,8 @@ void buildPolyModel(int X, int Y, int scale, char *ptr2, char *destBuffer, char *dataPtr); void mainDrawSub4(int objX1, int var_6, cellStruct * currentObjPtr, char *data1, int objY2, int objX2, char *output, char *data2); -char *drawPolyMode2(char *si, int cx); +unsigned char *drawPolyMode2(unsigned char *dataPointer, int linesToDraw); } // End of namespace Cruise #endif