summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-24 17:09:57 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-24 17:09:57 +0800
commitb17f99e21de175efcf2ae460a5ca697794e29383 (patch)
tree231105082c40d59f3fb8c75d9023764fdd83a320
parent6ce30a271a0ff9e8bb886b96b91a9f561a376654 (diff)
Fix printf type
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 428120e..c3fb13e 100644
--- a/main.c
+++ b/main.c
@@ -71,7 +71,7 @@ int main(void)
if (list) {
for (size_t i = 0; i < list->length; i++) {
char *ticket = list->tickets[i];
- printf("Ticket %ld: %s\n", i, ticket);
+ printf("Ticket %zu: %s\n", i, ticket);
}
rtclient_ticket_freelist(list);
}