Skip to content

Commit cc223d1

Browse files
committed
tests/api.c: in test_wolfSSL_TXT_DB(), fix -Wpointer-to-int-cast detected by building --host=x86_64-w64-mingw32.
1 parent 87e63a0 commit cc223d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42578,7 +42578,7 @@ static int test_wolfSSL_TXT_DB(void)
4257842578

4257942579
/* Test index */
4258042580
ExpectIntEQ(TXT_DB_create_index(db, 3, NULL,
42581-
(wolf_sk_hash_cb)(long unsigned int)TXT_DB_hash,
42581+
(wolf_sk_hash_cb)(wc_ptr_t)TXT_DB_hash,
4258242582
(wolf_lh_compare_cb)TXT_DB_cmp), 1);
4258342583
ExpectNotNull(TXT_DB_get_by_index(db, 3, (WOLFSSL_STRING*)fields));
4258442584
fields[3] = "12DA";

0 commit comments

Comments
 (0)