The branch OpenSSL_1_1_1-stable has been updated
       via  1d7990451b4e69ac179a134c69551e557633c709 (commit)
      from  eb67b2616c737fba2cb1207f70d3ecd003844705 (commit)


- Log -----------------------------------------------------------------
commit 1d7990451b4e69ac179a134c69551e557633c709
Author: Patrick Steuer <patrick.ste...@de.ibm.com>
Date:   Thu Aug 15 23:13:53 2019 +0200

    Fix --strict-warnings build
    
    Appease -Wstring-plus-int.
    
    Signed-off-by: Patrick Steuer <patrick.ste...@de.ibm.com>
    
    Reviewed-by: Kurt Roeckx <k...@roeckx.be>
    Reviewed-by: Paul Dale <paul.d...@oracle.com>
    (Merged from https://github.com/openssl/openssl/pull/9608)
    
    (cherry picked from commit e0249827b3fa81ff6c59fb14ef85d38361dd5e31)

-----------------------------------------------------------------------

Summary of changes:
 test/test_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_test.c b/test/test_test.c
index 0af2eaeb8a..74a230c196 100644
--- a/test/test_test.c
+++ b/test/test_test.c
@@ -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 */

Reply via email to