diff options
Diffstat (limited to 'apps/radio/radioart.c')
-rw-r--r-- | apps/radio/radioart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/radio/radioart.c b/apps/radio/radioart.c index cab6aa29ce..86a987c14f 100644 --- a/apps/radio/radioart.c +++ b/apps/radio/radioart.c | |||
@@ -47,10 +47,10 @@ static struct radioart radioart[MAX_RADIOART_IMAGES]; | |||
47 | 47 | ||
48 | static int find_oldest_image_index(void) | 48 | static int find_oldest_image_index(void) |
49 | { | 49 | { |
50 | int i; | 50 | unsigned i; |
51 | long oldest_tick = current_tick; | 51 | long oldest_tick = current_tick; |
52 | int oldest_idx = -1; | 52 | int oldest_idx = -1; |
53 | for(i = 0; ARRAYLEN(radioart); i++) | 53 | for(i = 0; i < ARRAYLEN(radioart); i++) |
54 | { | 54 | { |
55 | struct radioart *ra = &radioart[i]; | 55 | struct radioart *ra = &radioart[i]; |
56 | /* last_tick is only valid if it's actually loaded, i.e. valid handle */ | 56 | /* last_tick is only valid if it's actually loaded, i.e. valid handle */ |