Fix potential overflow warning in cpio test_option_t (#2250)
Fixes an error from #2237.
This commit is contained in:
1 parent
13c710a825
commit
3fdf9bf80f
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user