diff options
-rw-r--r-- | test/testutil/tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ? "<null>" : (char *)ASN1_STRING_get0_data(t); + return t == NULL ? "<null>" : (const char *)ASN1_STRING_get0_data(t); } #define DEFINE_TIME_T_COMPARISON(opname, op) \ |