diff options
author | Simon Howard | 2015-02-22 00:32:49 -0500 |
---|---|---|
committer | Simon Howard | 2015-02-22 00:32:49 -0500 |
commit | 074026b37ee26e78ae1c25907d2b7211b3e5fe91 (patch) | |
tree | 0d502248f7c0812fec174c864140bad927447c2e /src/i_sdlmusic.c | |
parent | 01a743cd351d146e9b9ea7f7ca5b1c05e01da68e (diff) | |
parent | 5160ceb4512b8bb5839df898a4aff0c6779578c5 (diff) | |
download | chocolate-doom-074026b37ee26e78ae1c25907d2b7211b3e5fe91.tar.gz chocolate-doom-074026b37ee26e78ae1c25907d2b7211b3e5fe91.tar.bz2 chocolate-doom-074026b37ee26e78ae1c25907d2b7211b3e5fe91.zip |
Merge branch 'master' of github.com:chocolate-doom/chocolate-doom
Diffstat (limited to 'src/i_sdlmusic.c')
-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"); |