summaryrefslogtreecommitdiffstats
path: root/generic/tclClock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-02-24 11:07:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-02-24 11:07:18 (GMT)
commit904ba06b0a6c9333a032d2da553efc386b0a2916 (patch)
treeb065822e909f7b67895295d7733ad16433412440 /generic/tclClock.c
parent471091f55ae64b4d82644288198e183d8a1865c5 (diff)
downloadtcl-904ba06b0a6c9333a032d2da553efc386b0a2916.zip
tcl-904ba06b0a6c9333a032d2da553efc386b0a2916.tar.gz
tcl-904ba06b0a6c9333a032d2da553efc386b0a2916.tar.bz2
Add -Wpointer-arith warning to C-compile. Fix gcc(-9) warning.
Diffstat (limited to 'generic/tclClock.c')
-rw-r--r--generic/tclClock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclClock.c b/generic/tclClock.c
index b019ef9..cd4555e 100644
--- a/generic/tclClock.c
+++ b/generic/tclClock.c
@@ -1020,7 +1020,7 @@ ConvertUTCToLocalUsingC(
time_t tock;
struct tm* timeVal; /* Time after conversion */
int diff; /* Time zone diff local-Greenwich */
- char buffer[8]; /* Buffer for time zone name */
+ char buffer[16]; /* Buffer for time zone name */
/*
* Use 'localtime' to determine local year, month, day, time of day.