summaryrefslogtreecommitdiffstats
path: root/generic/tkScale.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-04-12 22:46:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-04-12 22:46:00 (GMT)
commitf1b116fbabd195092b12100ea19714a1aee4263c (patch)
tree48575fa2559ccac9bfe9fccee3c0b88eb0cc1b2c /generic/tkScale.h
parenta1c49d881fad7ee0638c54eab49208dcb9b2f1a8 (diff)
downloadtk-f1b116fbabd195092b12100ea19714a1aee4263c.zip
tk-f1b116fbabd195092b12100ea19714a1aee4263c.tar.gz
tk-f1b116fbabd195092b12100ea19714a1aee4263c.tar.bz2
Fix two new gcc-7.3 (harmless) compiler warnings.
Diffstat (limited to 'generic/tkScale.h')
-rw-r--r--generic/tkScale.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkScale.h b/generic/tkScale.h
index 4fd9995..aa0feff 100644
--- a/generic/tkScale.h
+++ b/generic/tkScale.h
@@ -73,7 +73,7 @@ typedef struct TkScale {
* values. 0 means we get to choose the number
* based on resolution and/or the range of the
* scale. */
- char format[10]; /* Sprintf conversion specifier computed from
+ char format[16]; /* Sprintf conversion specifier computed from
* digits and other information. */
double bigIncrement; /* Amount to use for large increments to scale
* value. (0 means we pick a value). */