diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-02-24 11:07:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-02-24 11:07:18 (GMT) |
commit | 904ba06b0a6c9333a032d2da553efc386b0a2916 (patch) | |
tree | b065822e909f7b67895295d7733ad16433412440 /generic/tclClock.c | |
parent | 471091f55ae64b4d82644288198e183d8a1865c5 (diff) | |
download | tcl-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.c | 2 |
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. |