summaryrefslogtreecommitdiff
path: root/testcode/unitmain.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2026-05-22 14:09:04 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2026-05-22 14:09:16 +0000
commit22e58f330a151944c24e010d23ec3881df6681b6 (patch)
treee1ad45dedbb1e834347e8565cd65900b2ae5295e /testcode/unitmain.c
parent4dd0a17edce60370304a45f2c40251e09e193bd6 (diff)
Diffstat (limited to 'testcode/unitmain.c')
-rw-r--r--testcode/unitmain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testcode/unitmain.c b/testcode/unitmain.c
index 79ce45f39559..4bc756a0705f 100644
--- a/testcode/unitmain.c
+++ b/testcode/unitmain.c
@@ -1092,7 +1092,7 @@ static void edns_ede_encode_notxt_fit_test( struct query_info* qinfo,
{
struct edns_data edns;
sldns_buffer* pkt;
- uint16_t edns_field_size, ede_txt_size;
+ size_t edns_field_size, ede_txt_size;
int found_ede = 0, found_ede_other = 0, found_ede_txt = 0;
int found_other_edns = 0;
edns_ede_encode_setup(&edns, region);
@@ -1123,7 +1123,7 @@ static void edns_ede_encode_no_fit_test( struct query_info* qinfo,
{
struct edns_data edns;
sldns_buffer* pkt;
- uint16_t edns_field_size, ede_size, ede_txt_size;
+ size_t edns_field_size, ede_size, ede_txt_size;
int found_ede = 0, found_ede_other = 0, found_ede_txt = 0;
int found_other_edns = 0;
edns_ede_encode_setup(&edns, region);