aboutsummaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-03-17 18:21:11 +0100
committertomsmeding <tom.smeding@gmail.com>2017-03-17 18:21:11 +0100
commit8ac173549537c25654012419f0f66a351c65f8cf (patch)
tree016647975d19691accf9974654988a341099d8ce /command.c
parent6b7b41f1ff036d97a9d82f31430c33fb58f45b6a (diff)
Compile on linux
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);