$NetBSD: patch-as,v 1.8 2006/05/05 17:42:07 adam Exp $

--- src/rrd_cgi.c.orig	2006-05-04 15:26:28.000000000 +0200
+++ src/rrd_cgi.c
@@ -418,7 +418,7 @@ int main(int argc, char *argv[]) {
 
 	if (!filter) {
 		printf ("Content-Type: text/html\n" 
-				"Content-Length: %d\n", 
+				"Content-Length: %zd\n", 
 				strlen(buffer));
 
 		if (labs(goodfor) > 0) {
