diff options
Diffstat (limited to 'release/picobsd')
-rw-r--r-- | release/picobsd/tinyware/simple_httpd/simple_httpd.c | 2 |
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 99bf89b75d77..f02641d02442 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"); |