diff options
author | Johannes Schickel | 2009-02-15 03:46:05 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-02-15 03:46:05 +0000 |
commit | 7c148ddf021c990fa866b7600f979aac9a5b26c9 (patch) | |
tree | 59684c5723fc31624e6a117c0c3758005e8e256d | |
parent | 16a57f299cdad82a87c1d397b56b663a9426c38e (diff) | |
download | scummvm-rg350-7c148ddf021c990fa866b7600f979aac9a5b26c9.tar.gz scummvm-rg350-7c148ddf021c990fa866b7600f979aac9a5b26c9.tar.bz2 scummvm-rg350-7c148ddf021c990fa866b7600f979aac9a5b26c9.zip |
Fixed warnings.
svn-id: r38191
-rw-r--r-- | tools/create_kyradat/create_kyradat.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/create_kyradat/create_kyradat.cpp b/tools/create_kyradat/create_kyradat.cpp index 0f3342ad00..26d8bf7984 100644 --- a/tools/create_kyradat/create_kyradat.cpp +++ b/tools/create_kyradat/create_kyradat.cpp @@ -1074,7 +1074,7 @@ bool extractRaw16(PAKFile &out, const Game *g, const byte *data, const uint32 si const uint8 *src = data; uint8 *dst = buffer; - for (int i = 0; i < (size >> 1); i++) { + for (uint i = 0; i < (size >> 1); i++) { WRITE_BE_UINT16(dst, READ_LE_UINT16(src)); src += 2; dst += 2; @@ -1085,7 +1085,6 @@ bool extractRaw16(PAKFile &out, const Game *g, const byte *data, const uint32 si bool extractLolButtonDefs(PAKFile &out, const Game *g, const byte *data, const uint32 size, const char *filename, int fmtPatch) { int num = size / 22; - uint32 outsize = num * 18; uint8 *buffer = new uint8[size]; const uint8 *src = data; uint8 *dst = buffer; |