diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-03-17 18:21:11 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-03-17 18:21:11 +0100 |
commit | 8ac173549537c25654012419f0f66a351c65f8cf (patch) | |
tree | 016647975d19691accf9974654988a341099d8ce /command.c | |
parent | 6b7b41f1ff036d97a9d82f31430c33fb58f45b6a (diff) |
Compile on linux
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |