yhirose 5 years ago
parent
commit
0db9d21eb0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      example/simplesvr.cc

+ 1 - 1
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());
     snprintf(buf, sizeof(buf), "content type: %s\n", file.content_type.c_str());
     s += buf;
     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 += buf;
 
 
     s += "----------------\n";
     s += "----------------\n";