Skip to content

Commit

Permalink
Fix minor warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jorio committed Jul 12, 2023
1 parent 90412b9 commit 0ddd0f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/soundfx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
6 changes: 3 additions & 3 deletions src/soundfx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ddd0f4

Please sign in to comment.