mirror of
https://github.com/openssl/openssl.git
synced 2025-01-21 09:23:33 +08:00
Fix --strict-warnings build
Appease -Wstring-plus-int. Signed-off-by: Patrick Steuer <patrick.steuer@de.ibm.com> Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/9608)
This commit is contained in:
parent
3ce46435e6
commit
e0249827b3
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user