From b5f52785f3c7ff165df6338bd1a8b1f8640490eb Mon Sep 17 00:00:00 2001 From: des Date: Tue, 16 Oct 2007 13:10:43 +0000 Subject: [PATCH] Use %zd for size_t. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2105 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/cache_main.c b/varnish-cache/bin/varnishd/cache_main.c index 3c4dd898..4882d2b1 100644 --- a/varnish-cache/bin/varnishd/cache_main.c +++ b/varnish-cache/bin/varnishd/cache_main.c @@ -51,7 +51,7 @@ child_main(void) 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); -- 2.39.5