diff options
author | NIIBE Yutaka <[email protected]> | 2018-10-22 01:28:39 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2018-10-22 01:28:39 +0000 |
commit | 12b834ba59ae2f3cd0568e4cfa1dca47fc41269a (patch) | |
tree | 70cc367ffeddd79d60ecca1adf111e38621e4356 | |
parent | gpg-error-config: Support "auto", architecture independent script. (diff) | |
download | libgpg-error-12b834ba59ae2f3cd0568e4cfa1dca47fc41269a.tar.gz libgpg-error-12b834ba59ae2f3cd0568e4cfa1dca47fc41269a.zip |
yat2m: Avoid compiler warnings.
* doc/yat2m.c (isodatestring): Prepare enough buffer.
Signed-off-by: NIIBE Yutaka <[email protected]>
-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; |