diff options
author | Paweł Kołodziejski | 2002-07-11 20:34:52 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2002-07-11 20:34:52 +0000 |
commit | 5f00eb69b9dbe90da0596e03dff16bf9e6b49ad2 (patch) | |
tree | b7e205dafabb9a65d68433b6d5037af9418fb9ba | |
parent | 362333fa4196f9dd899fed68c3c013ec7fe7529b (diff) | |
download | scummvm-rg350-5f00eb69b9dbe90da0596e03dff16bf9e6b49ad2.tar.gz scummvm-rg350-5f00eb69b9dbe90da0596e03dff16bf9e6b49ad2.tar.bz2 scummvm-rg350-5f00eb69b9dbe90da0596e03dff16bf9e6b49ad2.zip |
fixed warnings
svn-id: r4516
-rw-r--r-- | insane.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/insane.cpp b/insane.cpp index da279671aa..5f2171741e 100644 --- a/insane.cpp +++ b/insane.cpp @@ -73,7 +73,8 @@ void SmushPlayer::loadFonts() { byte buf[100]; FILE * f_tres; - uint32 tmp, l; + uint32 tmp; + int l; byte * buffer = NULL; for (l = 0; l < SP_MAX_FONTS; l++) @@ -232,7 +233,7 @@ void codec44_depack(byte *dst, byte *src, uint32 len, uint8 color) void SmushPlayer::drawCharTRES(uint32 * x, uint32 y, uint32 c_line, uint8 color, uint8 txt) { byte * font = _fonts[_c_font]; - uint32 offset = 0, t_offset, l, width, height, length; + uint32 offset = 0, t_offset = 0, l, width, height, length = 0; if (font == NULL) return; |