summaryrefslogtreecommitdiffstats
path: root/testcode/unitmsgparse.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2014-05-14 18:43:20 +0000
committerdes <des@FreeBSD.org>2014-05-14 18:43:20 +0000
commitc6f87fd5e619b950a5b259f7d881955f49b6a2d9 (patch)
tree9b915379eafaa12682f45d6cb1f41e94fcb12a36 /testcode/unitmsgparse.c
parent35be22788f689639c1a53f650cd8a1fad60a1466 (diff)
downloadFreeBSD-src-c6f87fd5e619b950a5b259f7d881955f49b6a2d9.zip
FreeBSD-src-c6f87fd5e619b950a5b259f7d881955f49b6a2d9.tar.gz
import unbound 1.4.21
Diffstat (limited to 'testcode/unitmsgparse.c')
-rw-r--r--testcode/unitmsgparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testcode/unitmsgparse.c b/testcode/unitmsgparse.c
index 4342395..72f9b63 100644
--- a/testcode/unitmsgparse.c
+++ b/testcode/unitmsgparse.c
@@ -258,7 +258,7 @@ checkformerr(ldns_buffer* pkt)
/** performance test message encoding */
static void
perf_encode(struct query_info* qi, struct reply_info* rep, uint16_t id,
- uint16_t flags, ldns_buffer* out, uint32_t timenow,
+ uint16_t flags, ldns_buffer* out, time_t timenow,
struct edns_data* edns)
{
static int num = 0;
@@ -299,7 +299,7 @@ perftestpkt(ldns_buffer* pkt, struct alloc_cache* alloc, ldns_buffer* out,
int ret;
uint16_t id;
uint16_t flags;
- uint32_t timenow = 0;
+ time_t timenow = 0;
struct regional* region = regional_create();
struct edns_data edns;
OpenPOWER on IntegriCloud