diff -r 95b77e842db3 -r 6b15a094d996 src/server/safs/service.c --- a/src/server/safs/service.c Mon Sep 09 12:15:54 2013 +0200 +++ b/src/server/safs/service.c Mon Oct 14 13:36:28 2013 +0200 @@ -86,7 +86,7 @@ // add content-length header char contentLength[32]; - int len = snprintf(contentLength, 32, "%lld", s->st_size); + int len = snprintf(contentLength, 32, "%jd", s->st_size); pblock_kvinsert(pb_key_content_length, contentLength, len, rq->srvhdrs);