Fix potential overflow warning in cpio test_option_t (#2250)

Fixes an error from #2237.
This commit is contained in:
Tim Kientzle authored and GitHub committed 2024-06-19 16:18:35 -07:00
1 parent 13c710a825
commit 3fdf9bf80f
1 file changed
+1 -1
+1 -1
View File
@@ -33,7 +33,7 @@ DEFINE_TEST(test_option_t)
char *p;
int r;
time_t mtime;
char date[32];
char date[48];
char date2[32];
struct tm *tmptr;
#if defined(HAVE_LOCALTIME_R) || defined(HAVE_LOCALTIME_S)