From cc223d19049f95d9249ce64155883846e19b1dd2 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Thu, 3 Apr 2025 17:17:24 -0500 Subject: [PATCH] tests/api.c: in test_wolfSSL_TXT_DB(), fix -Wpointer-to-int-cast detected by building --host=x86_64-w64-mingw32. --- tests/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api.c b/tests/api.c index 3dcd639b1..0a0913586 100644 --- a/tests/api.c +++ b/tests/api.c @@ -42578,7 +42578,7 @@ static int test_wolfSSL_TXT_DB(void) /* Test index */ ExpectIntEQ(TXT_DB_create_index(db, 3, NULL, - (wolf_sk_hash_cb)(long unsigned int)TXT_DB_hash, + (wolf_sk_hash_cb)(wc_ptr_t)TXT_DB_hash, (wolf_lh_compare_cb)TXT_DB_cmp), 1); ExpectNotNull(TXT_DB_get_by_index(db, 3, (WOLFSSL_STRING*)fields)); fields[3] = "12DA";