summaryrefslogtreecommitdiff
path: root/src/strife/s_sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strife/s_sound.c')
-rw-r--r--src/strife/s_sound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strife/s_sound.c b/src/strife/s_sound.c
index 6a6ddd15..642586cf 100644
--- a/src/strife/s_sound.c
+++ b/src/strife/s_sound.c
@@ -550,7 +550,7 @@ static voiceinfo_t *voices[NUMVOICECHAINS];
static voiceinfo_t *S_getVoice(const char *name, int lumpnum)
{
voiceinfo_t *voice;
- int hashkey = S_voiceHash(name) % NUMVOICECHAINS;
+ unsigned int hashkey = S_voiceHash(name) % NUMVOICECHAINS;
voice = voices[hashkey];
@@ -603,7 +603,7 @@ void I_StartVoice(const char *lumpname)
return;
// have a voice playing already? stop it.
- if (i_voicehandle >= 0)
+ if(i_voicehandle >= 0)
S_StopChannel(i_voicehandle);
// Vanilla STRIFE appears to have stopped any current voice without