forked from len0rd/rockbox
Fix playback.c audio_track_count() warning
changes return to unsigned int to match underlying aliased function Change-Id: I7015c7ad929344441249aa7c4f2af361142fcaf4
This commit is contained in:
parent
7c2295ea46
commit
7a132a257a
3 changed files with 3 additions and 3 deletions
|
@ -449,7 +449,7 @@ static bool dbg_buffering_thread(void)
|
||||||
|
|
||||||
screens[i].putsf(0, line++, "data_rem: %ld", (long)d.data_rem);
|
screens[i].putsf(0, line++, "data_rem: %ld", (long)d.data_rem);
|
||||||
|
|
||||||
screens[i].putsf(0, line++, "track count: %2d", audio_track_count());
|
screens[i].putsf(0, line++, "track count: %2u", audio_track_count());
|
||||||
|
|
||||||
screens[i].putsf(0, line++, "handle count: %d", (int)d.num_handles);
|
screens[i].putsf(0, line++, "handle count: %d", (int)d.num_handles);
|
||||||
|
|
||||||
|
|
|
@ -3745,7 +3745,7 @@ size_t audio_get_filebuflen(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* How many tracks exist on the buffer - full or partial */
|
/* How many tracks exist on the buffer - full or partial */
|
||||||
int audio_track_count(void)
|
unsigned int audio_track_count(void)
|
||||||
__attribute__((alias("track_list_count")));
|
__attribute__((alias("track_list_count")));
|
||||||
|
|
||||||
/* Return total ringbuffer space occupied - ridx to widx */
|
/* Return total ringbuffer space occupied - ridx to widx */
|
||||||
|
|
|
@ -76,7 +76,7 @@ struct bufopen_bitmap_data {
|
||||||
#endif /* HAVE_ALBUMART */
|
#endif /* HAVE_ALBUMART */
|
||||||
|
|
||||||
/* Functions */
|
/* Functions */
|
||||||
int audio_track_count(void);
|
unsigned int audio_track_count(void);
|
||||||
long audio_filebufused(void);
|
long audio_filebufused(void);
|
||||||
void audio_pre_ff_rewind(void);
|
void audio_pre_ff_rewind(void);
|
||||||
void audio_skip(int direction);
|
void audio_skip(int direction);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue