diff options
author | Torbjörn Andersson | 2006-02-23 07:59:25 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-02-23 07:59:25 +0000 |
commit | 725a9d21f904fd13c2e2727091ea4efc48921cdb (patch) | |
tree | f7a644b184653c8a95a6170b4c45cd83ee7541a8 /engines/cine | |
parent | 43f2d984fb4f9549a033de2c7198a1b522512f6b (diff) | |
download | scummvm-rg350-725a9d21f904fd13c2e2727091ea4efc48921cdb.tar.gz scummvm-rg350-725a9d21f904fd13c2e2727091ea4efc48921cdb.tar.bz2 scummvm-rg350-725a9d21f904fd13c2e2727091ea4efc48921cdb.zip |
Fixed some of the compiler warnings.
svn-id: r20819
Diffstat (limited to 'engines/cine')
-rw-r--r-- | engines/cine/script.cpp | 4 | ||||
-rw-r--r-- | engines/cine/texte.cpp | 2 | ||||
-rw-r--r-- | engines/cine/texte.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/engines/cine/script.cpp b/engines/cine/script.cpp index 6f39fe562f..8764131073 100644 --- a/engines/cine/script.cpp +++ b/engines/cine/script.cpp @@ -487,7 +487,7 @@ void addScriptToList0(u16 idx) { #ifdef _DEBUG #define DEBUG_SCRIPT debugScript -void debugScript(int currentLine, char *string, ...) { +void debugScript(int currentLine, const char *string, ...) { va_list va; va_start(va, string); @@ -497,7 +497,7 @@ void debugScript(int currentLine, char *string, ...) { } #else #define DEBUG_SCRIPT debugScriptInline -void debugScriptInline(int currentLine, char *string, ...) { +void debugScriptInline(int currentLine, const char *string, ...) { } #endif diff --git a/engines/cine/texte.cpp b/engines/cine/texte.cpp index 60d45e303a..1714411962 100644 --- a/engines/cine/texte.cpp +++ b/engines/cine/texte.cpp @@ -30,7 +30,7 @@ u8 textTable[256][2][16 * 8]; void generateMask(u8 *sprite, u8 *mask, u16 size, u8 transparency); -void loadTextData(char *pFileName, u8 *pDestinationBuffer) { +void loadTextData(const char *pFileName, u8 *pDestinationBuffer) { Common::File pFileHandle; u16 entrySize; u16 numEntry; diff --git a/engines/cine/texte.h b/engines/cine/texte.h index 495bd95c02..71ef23509c 100644 --- a/engines/cine/texte.h +++ b/engines/cine/texte.h @@ -28,6 +28,6 @@ extern u8 *textDataPtr; extern u8 textTable[256][2][16 * 8]; -void loadTextData(char *pFileName, u8 *pDestinationBuffer); +void loadTextData(const char *pFileName, u8 *pDestinationBuffer); #endif |