summaryrefslogtreecommitdiff
path: root/ticket.c
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-30 10:51:34 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-30 10:51:34 +0800
commit7180c051d619f0605f2c45929eb516d28bcb709f (patch)
tree243219ac46264f10720dfa6fc22f2304f321f353 /ticket.c
parent739bcbbd83115cb8cf3f5b60fd7e73056a0c7293 (diff)
The decimal notations used so far are unsigned integers
Diffstat (limited to 'ticket.c')
-rw-r--r--ticket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ticket.c b/ticket.c
index 2e26b81..9ec8bc7 100644
--- a/ticket.c
+++ b/ticket.c
@@ -107,7 +107,7 @@ void rtclient_ticket_search(rtclient_ticketlist **listptr, const char *query)
void rtclient_ticket_history(unsigned int id)
{
- request(NULL, NULL, NULL, "%s%d%s", "REST/1.0/ticket/", id
+ request(NULL, NULL, NULL, "%s%u%s", "REST/1.0/ticket/", id
, "/history?format=l");
}