summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2018-10-22 10:28:39 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2018-10-22 10:28:39 +0900
commit12b834ba59ae2f3cd0568e4cfa1dca47fc41269a (patch)
tree70cc367ffeddd79d60ecca1adf111e38621e4356
parent91bcb2c7d824de50c7dfedd4490e515ddb5dfc5a (diff)
downloadlibgpg-error-12b834ba59ae2f3cd0568e4cfa1dca47fc41269a.tar.gz
yat2m: Avoid compiler warnings.
* doc/yat2m.c (isodatestring): Prepare enough buffer. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
-rw-r--r--doc/yat2m.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/yat2m.c b/doc/yat2m.c
index a509d1b..3c7b363 100644
--- a/doc/yat2m.c
+++ b/doc/yat2m.c
@@ -357,7 +357,7 @@ ascii_strupr (char *string)
const char *
isodatestring (void)
{
- static char buffer[11+5];
+ static char buffer[36];
struct tm *tp;
time_t atime;