X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Frrd_cgi.c;h=75dabf4a7eecf5000518282d7e54a4c2b05b5dec;hb=914a4711a850b2b68714fa5f63e1251b7997cd4c;hp=23567c5d2252fe0ca05988a6a4ac58d9c6c2923e;hpb=2a6a270edfda89b04722b42b57992907f871c671;p=rrdtool.git diff --git a/src/rrd_cgi.c b/src/rrd_cgi.c index 23567c5..75dabf4 100644 --- a/src/rrd_cgi.c +++ b/src/rrd_cgi.c @@ -494,7 +494,7 @@ int main( if (!filter) { printf("Content-Type: text/html\n" - "Content-Length: %d\n", strlen(buffer)); + "Content-Length: %zd\n", strlen(buffer)); if (labs(goodfor) > 0) { time_t now;