diff options
author | James Haley | 2015-02-20 19:50:58 -0600 |
---|---|---|
committer | James Haley | 2015-02-20 19:50:58 -0600 |
commit | dcf2c6a09c97c284b6cdff8c791cce8fe03fd69d (patch) | |
tree | 422a6d0e396bd3f5875138f5ba2b798a41fc4b64 | |
parent | b39121c6a682eb8ae5efd29a875bd7c098185f04 (diff) | |
download | chocolate-doom-dcf2c6a09c97c284b6cdff8c791cce8fe03fd69d.tar.gz chocolate-doom-dcf2c6a09c97c284b6cdff8c791cce8fe03fd69d.tar.bz2 chocolate-doom-dcf2c6a09c97c284b6cdff8c791cce8fe03fd69d.zip |
Warning fixes
Signed/unsigned comparison mismatches
-rw-r--r-- | src/i_sdlmusic.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/i_sdlmusic.c b/src/i_sdlmusic.c index e70b2c05..63a3467a 100644 --- a/src/i_sdlmusic.c +++ b/src/i_sdlmusic.c @@ -422,7 +422,7 @@ static char *GetSubstituteMusicFile(void *data, size_t data_len) sha1_context_t context; sha1_digest_t hash; char *filename; - int i; + unsigned int i; // Don't bother doing a hash if we're never going to find anything. if (subst_music_len == 0) @@ -734,7 +734,8 @@ static void DumpSubstituteConfig(char *filename) char name[9]; byte *data; FILE *fs; - int lumpnum, h; + unsigned int lumpnum; + size_t h; fs = fopen(filename, "w"); |