From 0ddd0f41a729b1d90ba39fe02e3403f54bd531da Mon Sep 17 00:00:00 2001 From: Iliyas Jorio Date: Wed, 12 Jul 2023 17:34:46 +0200 Subject: [PATCH] Fix minor warnings --- src/soundfx.c | 6 +++--- src/soundfx.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/soundfx.c b/src/soundfx.c index 021e13d..f86965b 100644 --- a/src/soundfx.c +++ b/src/soundfx.c @@ -40,17 +40,17 @@ void ShutdownSound() cmixer_ShutdownWithSDL(); } -void PlayMono( short which ) +void PlayMono( int which ) { PlayStereoFrequency(2, which, 0); } -void PlayStereo( short player, short which ) +void PlayStereo( int player, short which ) { PlayStereoFrequency(player, which, 0); } -void PlayStereoFrequency( short player, short which, short freq ) +void PlayStereoFrequency( int player, short which, short freq ) { if (soundOn) { diff --git a/src/soundfx.h b/src/soundfx.h index 73751ce..713883b 100644 --- a/src/soundfx.h +++ b/src/soundfx.h @@ -3,9 +3,9 @@ void InitSound(); void ShutdownSound(); -void PlayStereo( short player, short which ); -void PlayStereoFrequency( short player, short which, short freq ); -void PlayMono( short which ); +void PlayStereo( int player, short which ); +void PlayStereoFrequency( int player, short which, short freq ); +void PlayMono( int which ); void UpdateSound(); enum