fix for warning when using c++ compiler

This commit is contained in:
JacobBarthelmeh
2019-10-15 10:07:02 -07:00
parent bb6eeefe26
commit 63e74554a8

View File

@@ -20174,7 +20174,7 @@ static void test_wolfSSL_X509_STORE_CTX(void)
for (i = 0; i < MAX_EX_DATA; i++) {
AssertIntEQ(X509_STORE_CTX_set_ex_data(ctx, i, &tmpData),
WOLFSSL_SUCCESS);
tmpDataRet = X509_STORE_CTX_get_ex_data(ctx, i);
tmpDataRet = (int*)X509_STORE_CTX_get_ex_data(ctx, i);
AssertNotNull(tmpDataRet);
AssertIntEQ(tmpData, *tmpDataRet);
}