From f1b116fbabd195092b12100ea19714a1aee4263c Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Thu, 12 Apr 2018 22:46:00 +0000 Subject: Fix two new gcc-7.3 (harmless) compiler warnings. --- generic/tkEntry.h | 2 +- generic/tkScale.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/tkEntry.h b/generic/tkEntry.h index 52535c8..12c0374 100644 --- a/generic/tkEntry.h +++ b/generic/tkEntry.h @@ -221,7 +221,7 @@ typedef struct { * value that the users requests. Malloc'ed */ char *valueFormat; /* Sprintf conversion specifier used for the * value. */ - char digitFormat[10]; /* Sprintf conversion specifier computed from + char digitFormat[16]; /* Sprintf conversion specifier computed from * digits and other information; used for the * value. */ 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). */ -- cgit v0.12