]> err.no Git - varnish/commitdiff
Use %zd for size_t.
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 16 Oct 2007 13:10:43 +0000 (13:10 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 16 Oct 2007 13:10:43 +0000 (13:10 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2105 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_main.c

index 3c4dd8981e15e53c6f0ddbaeb2c0e404831636f8..4882d2b16fa2a9a80e8625a212d8e977927b7383 100644 (file)
@@ -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);