summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
Diffstat (limited to 'release')
-rw-r--r--release/picobsd/tinyware/simple_httpd/simple_httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/picobsd/tinyware/simple_httpd/simple_httpd.c b/release/picobsd/tinyware/simple_httpd/simple_httpd.c
index 99bf89b..f02641d 100644
--- a/release/picobsd/tinyware/simple_httpd/simple_httpd.c
+++ b/release/picobsd/tinyware/simple_httpd/simple_httpd.c
@@ -307,7 +307,7 @@ http_request()
http_output(httpd_server_ident);
http_date();
- sprintf(buff, "Content-length: %d\r\n", file_status.st_size);
+ sprintf(buff, "Content-length: %lld\r\n", file_status.st_size);
if (strstr(filename,".txt")) {
strcpy(buff,"Content-type: text/plain\r\n");
OpenPOWER on IntegriCloud