From: Christos Zoulas Date: Sun, 30 Sep 2018 20:56:49 +0000 (-0400) Subject: Use the proper fonst cast X-Git-Tag: openssl-3.0.0-alpha1~2733 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8343229bc4b8ac04e3a15d0645c453da84cab8d8;p=oweals%2Fopenssl.git Use the proper fonst cast Reviewed-by: Richard Levitte Reviewed-by: Viktor Dukhovni --- diff --git a/test/testutil/tests.c b/test/testutil/tests.c index ba37f0173e..2ba5b9a649 100644 --- a/test/testutil/tests.c +++ b/test/testutil/tests.c @@ -420,7 +420,7 @@ int test_BN_abs_eq_word(const char *file, int line, const char *bns, static const char *print_time(const ASN1_TIME *t) { - return t == NULL ? "" : (char *)ASN1_STRING_get0_data(t); + return t == NULL ? "" : (const char *)ASN1_STRING_get0_data(t); } #define DEFINE_TIME_T_COMPARISON(opname, op) \