From b6e1704d558580f65b1b9e09cfbb12866b808d6c Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Thu, 16 Jun 2022 13:51:23 +0000 Subject: [PATCH] changed a static assertion in dns-cli.c --- hio/lib/dns-cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hio/lib/dns-cli.c b/hio/lib/dns-cli.c index ec34c51..50e1347 100644 --- a/hio/lib/dns-cli.c +++ b/hio/lib/dns-cli.c @@ -1006,7 +1006,7 @@ hio_dns_msg_t* hio_svc_dnc_resolve (hio_svc_dnc_t* dnc, const hio_bch_t* qname, if (dnc->cookie.server_len > 0) beopt_cookie.dlen += dnc->cookie.server_len; /* compute the client cookie */ - HIO_STATIC_ASSERT (HIO_SIZEOF(dnc->cookie.data.client) == HIO_DNS_COOKIE_CLIENT_LEN); + HIO_STATIC_ASSERT_EXPR (HIO_SIZEOF(dnc->cookie.data.client) == HIO_DNS_COOKIE_CLIENT_LEN); hio_sip_hash_24 (dnc->cookie.key, &dnc->serv_addr, HIO_SIZEOF(dnc->serv_addr), dnc->cookie.data.client); qedns.beonum = 1;