forked from wolfSSL/wolfssl
tests/api.c: in test_wolfSSL_TXT_DB(), fix -Wpointer-to-int-cast detected by building --host=x86_64-w64-mingw32.
This commit is contained in:
@ -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";
|
||||
|
Reference in New Issue
Block a user