r2105 - trunk/varnish-cache/bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Tue Oct 16 15:10:44 CEST 2007


Author: des
Date: 2007-10-16 15:10:43 +0200 (Tue, 16 Oct 2007)
New Revision: 2105

Modified:
   trunk/varnish-cache/bin/varnishd/cache_main.c
Log:
Use %zd for size_t.


Modified: trunk/varnish-cache/bin/varnishd/cache_main.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_main.c	2007-10-16 10:17:24 UTC (rev 2104)
+++ trunk/varnish-cache/bin/varnishd/cache_main.c	2007-10-16 13:10:43 UTC (rev 2105)
@@ -51,7 +51,7 @@
 	setbuf(stderr, NULL);
 	printf("Child starts\n");
 
-#define SZOF(foo)	printf("sizeof(%s) = %d\n", #foo, sizeof(foo));
+#define SZOF(foo)	printf("sizeof(%s) = %zd\n", #foo, sizeof(foo));
 	SZOF(struct ws);
 	SZOF(struct http);
 	SZOF(struct http_conn);




More information about the varnish-commit mailing list