From: des Date: Tue, 16 Oct 2007 13:10:43 +0000 (+0000) Subject: Use %zd for size_t. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5f52785f3c7ff165df6338bd1a8b1f8640490eb;p=varnish Use %zd for size_t. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2105 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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);