diff options
-rw-r--r-- | testing/toxic/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/toxic/main.c b/testing/toxic/main.c index 40b70ba5..e9d285cc 100644 --- a/testing/toxic/main.c +++ b/testing/toxic/main.c | |||
@@ -289,7 +289,8 @@ static void do_tox() | |||
289 | static void populate_friends() | 289 | static void populate_friends() |
290 | { | 290 | { |
291 | wprintw(prompt->window, "Populating friends...\n"); | 291 | wprintw(prompt->window, "Populating friends...\n"); |
292 | for (int i = 0; i < m->numfriends; i++) { | 292 | uint32_t i; |
293 | for (i = 0; i < m->numfriends; i++) { | ||
293 | wprintw(prompt->window, "Added friend %d\n", i); | 294 | wprintw(prompt->window, "Added friend %d\n", i); |
294 | friendlist_onFriendAdded(m, i); | 295 | friendlist_onFriendAdded(m, i); |
295 | } | 296 | } |