From 8ac173549537c25654012419f0f66a351c65f8cf Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Fri, 17 Mar 2017 18:21:11 +0100 Subject: Compile on linux --- command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'command.c') 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); -- cgit v1.2.3-54-g00ecf