From 0db9d21eb0a2dbc3e6279437a1fbfc74bfa4263a Mon Sep 17 00:00:00 2001 From: yhirose Date: Sun, 19 Jul 2020 18:40:55 -0400 Subject: [PATCH] Fix #571 --- example/simplesvr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/simplesvr.cc b/example/simplesvr.cc index a84bb1e..17a9e98 100644 --- a/example/simplesvr.cc +++ b/example/simplesvr.cc @@ -46,7 +46,7 @@ string dump_multipart_files(const MultipartFormDataMap &files) { snprintf(buf, sizeof(buf), "content type: %s\n", file.content_type.c_str()); s += buf; - snprintf(buf, sizeof(buf), "text length: %lu\n", file.content.size()); + snprintf(buf, sizeof(buf), "text length: %zu\n", file.content.size()); s += buf; s += "----------------\n";