aboutsummaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index 431c8f1..f5ad077 100644
--- a/command.c
+++ b/command.c
@@ -60,7 +60,7 @@ static bool send_name(int fd,const char *tag,const char *name){
static bool send_list(int fd,const char *tag,i64 count,const char **list){
char *buf=NULL;
- i64 len=asprintf(&buf,"%s list %lld",tag,count);
+ i64 len=asprintf(&buf,"%s list %" PRIi64,tag,count);
assert(buf);
bool closed=send_raw_text(fd,buf,len);
free(buf);