Change audio_set_cuesheet parameter from int to bool (fixes cppcheck warning)

Change-Id: Icb31c8bd8605aca27765a94b609c41f1f706426f
This commit is contained in:
Bertrik Sikken 2013-03-24 14:58:40 +01:00
parent d504a6b220
commit 0de2a85ae1
2 changed files with 2 additions and 2 deletions

View file

@ -3821,7 +3821,7 @@ long audio_filebufused(void)
/* Enable or disable cuesheet support and allocate/don't allocate the
extra associated resources */
void audio_set_cuesheet(int enable)
void audio_set_cuesheet(bool enable)
{
if (play_status == PLAY_STOPPED || !enable != !get_current_cuesheet())
{

View file

@ -75,7 +75,7 @@ long audio_filebufused(void);
void audio_pre_ff_rewind(void);
void audio_skip(int direction);
void audio_set_cuesheet(int enable);
void audio_set_cuesheet(bool enable);
#ifdef HAVE_CROSSFADE
void audio_set_crossfade(int enable);
#endif