changeset 696:07b5f729252f

Fix a format string.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 10 Jan 2020 00:16:59 +0200
parents f1df1cf69a38
children adac0e9f2810
files main.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main.c	Mon Jan 06 12:40:57 2020 +0200
+++ b/main.c	Fri Jan 10 00:16:59 2020 +0200
@@ -1042,7 +1042,8 @@
         // Just list whomever is in ignore now
         th_llist_t *user = *list;
         size_t nuser = th_llist_length(*list);
-        char *result = th_strdup_printf("Users on %s list (%d): ", listname, nuser);
+        char *result = th_strdup_printf("Users on %s list (%" PRIu_SIZE_T "): ",
+            listname, nuser);
         while (user != NULL)
         {
             if (user->data != NULL)