[prev in list] [next in list] [prev in thread] [next in thread]
List: varnish-commit
Subject: [master] 12a85b9 Another nit, trying to make opensolaris compile
From: phk () varnish-cache ! org (Poul-Henning Kamp)
Date: 2011-03-29 9:43:26
Message-ID: E1Q4VSQ-0008R9-Fo () project ! varnish-software ! com
[Download RAW message or body]
commit 12a85b93450ac455eb08ecbd34c8f78835daeaed
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Mar 29 09:43:11 2011 +0000
Another nit, trying to make opensolaris compile
diff --git a/bin/varnishtest/vtc_main.c b/bin/varnishtest/vtc_main.c
index 20f7fac..c2066b0 100644
--- a/bin/varnishtest/vtc_main.c
+++ b/bin/varnishtest/vtc_main.c
@@ -271,7 +271,7 @@ start_test(void)
memset(jp->buf, 0, jp->bufsiz);
srandomdev();
- bprintf(tmpdir, "/tmp/vtc.%d.%08x", getpid(), (unsigned)random());
+ bprintf(tmpdir, "/tmp/vtc.%d.%08x", (int)getpid(), (unsigned)random());
AZ(mkdir(tmpdir, 0711));
tp = VTAILQ_FIRST(&tst_head);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic