summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-06-24 10:59:27 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-06-24 10:59:27 -0400
commita9254da767d4a12cae57c84b1a1d4ecb6842b858 (patch)
treeb62ba840a201793af8528a586072ed2dcb70dfe8
parent95d8168385c29be1a785188778b8b620babf40b9 (diff)
downloadrockbox-a9254da767d4a12cae57c84b1a1d4ecb6842b858.tar.gz
rockbox-a9254da767d4a12cae57c84b1a1d4ecb6842b858.zip
build: Fix yellow introduced in 5d39d987c0
Change-Id: If17a04922006e1fa1f65543563da69f8bb6c503a
-rw-r--r--apps/plugins/playing_time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/playing_time.c b/apps/plugins/playing_time.c
index 292c6fa573..e465c35a18 100644
--- a/apps/plugins/playing_time.c
+++ b/apps/plugins/playing_time.c
@@ -64,7 +64,7 @@ struct playing_time_info {
64 int curr_index; /* index of currently playing track in playlist */ 64 int curr_index; /* index of currently playing track in playlist */
65 int curr_display_index; /* display index of currently playing track in playlist */ 65 int curr_display_index; /* display index of currently playing track in playlist */
66 int nb_tracks; /* how many tracks in playlist */ 66 int nb_tracks; /* how many tracks in playlist */
67 67
68 /* seconds total, before, and after current position. Datatype 68 /* seconds total, before, and after current position. Datatype
69 allows for values up to 68years. If I had kept it in ms 69 allows for values up to 68years. If I had kept it in ms
70 though, it would have overflowed at 24days, which takes 70 though, it would have overflowed at 24days, which takes
@@ -86,7 +86,7 @@ static char* get_percent_str(long percents)
86 return val; 86 return val;
87} 87}
88 88
89static inline void prepare_time_string(const char *buf, size_t buffer_len, long elapsed_pct, const char *timestr1, const char *timestr2) 89static inline void prepare_time_string(char *buf, size_t buffer_len, long elapsed_pct, const char *timestr1, const char *timestr2)
90{ 90{
91 if (rb->lang_is_rtl()) 91 if (rb->lang_is_rtl())
92 { 92 {