Fix --strict-warnings build
[openssl.git] / test / test_test.c
index ba66a158ad6d9d24299c49514ff58ba697b83ae0..35c612726ff6be7e0d8766d38e137458aba9849b 100644 (file)
@@ -491,7 +491,7 @@ static int test_single_eval(void)
            && TEST_ptr_eq(p, buf + 1)
            && TEST_ptr_null(p = NULL)
            /* strings */
-           && TEST_str_eq(p = "123456" + 1, "23456")
+           && TEST_str_eq(p = &("123456"[1]), "23456")
            && TEST_str_eq("3456", ++p)
            && TEST_str_ne(p++, "456")
            /* memory */