From decdf3f58bfdb3fbd2a1dd73a252076373cd5098 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Sun, 23 Aug 2020 11:59:54 +0100 Subject: httpd: silence compiler warnings about %llx format --- networking/httpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networking/httpd.c b/networking/httpd.c index 19cc08fcb..7684ca4e7 100644 --- a/networking/httpd.c +++ b/networking/httpd.c @@ -1827,7 +1827,7 @@ static NOINLINE void send_file_and_exit(const char *url, int what) } #if ENABLE_FEATURE_HTTPD_ETAG /* ETag is "hex(last_mod)-hex(file_size)" e.g. "5e132e20-417" */ - sprintf(G.etag, "\"%llx-%llx\"", (unsigned long long)last_mod, (unsigned long long)file_size); + sprintf(G.etag, "\"%"LL_FMT"x-%"LL_FMT"x\"", (unsigned long long)last_mod, (unsigned long long)file_size); if (G.if_none_match) { if (DEBUG) -- cgit v1.2.3-55-g6feb