From 1b09cbd303d889ec2636127584d57b7f1b70c25e Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sat, 05 Mar 2011 13:01:59 +0000 Subject: Merge branch 'stable' --- (limited to 'ui-shared.c') diff --git a/ui-shared.c b/ui-shared.c index 7efae7a..5aa9119 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -574,7 +574,7 @@ void cgit_print_http_headers(struct cgit_context *ctx) else if (ctx->page.mimetype) htmlf("Content-Type: %s\n", ctx->page.mimetype); if (ctx->page.size) - htmlf("Content-Length: %ld\n", ctx->page.size); + htmlf("Content-Length: %zd\n", ctx->page.size); if (ctx->page.filename) htmlf("Content-Disposition: inline; filename=\"%s\"\n", ctx->page.filename); -- cgit v0.9.0.2