diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2018-10-22 10:28:39 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2018-10-22 10:28:39 +0900 |
commit | 12b834ba59ae2f3cd0568e4cfa1dca47fc41269a (patch) | |
tree | 70cc367ffeddd79d60ecca1adf111e38621e4356 | |
parent | 91bcb2c7d824de50c7dfedd4490e515ddb5dfc5a (diff) | |
download | libgpg-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.c | 2 |
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; |