From 80691b9da216e243eeeb6a5591f1230b24f8f5f5 Mon Sep 17 00:00:00 2001 From: Cosmin Truta Date: Fri, 23 Feb 2024 11:09:51 +0200 Subject: [PATCH] test: Fix a compiler warning in pngtest.c --- pngtest.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pngtest.c b/pngtest.c index a94b44940..571ee6aaa 100644 --- a/pngtest.c +++ b/pngtest.c @@ -139,7 +139,10 @@ static float t_start, t_stop, t_decode, t_encode, t_misc; #ifdef PNG_TIME_RFC1123_SUPPORTED static int tIME_chunk_present = 0; -static char tIME_string[] = "tIME chunk is not present"; +static char tIME_string[29] = "tIME chunk is not present"; +/* This use case is deprecated. + * See the declaration of png_convert_to_rfc1123_buffer for more details. + */ #endif static int verbose = 0;