summaryrefslogtreecommitdiffstats
path: root/generic/tkScale.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkScale.c')
-rw-r--r--generic/tkScale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkScale.c b/generic/tkScale.c
index af45afa..1c65001 100644
--- a/generic/tkScale.c
+++ b/generic/tkScale.c
@@ -638,7 +638,7 @@ ConfigureScale(
ComputeFormat(scalePtr);
- scalePtr->labelLength = scalePtr->label ? (int)strlen(scalePtr->label) : 0;
+ scalePtr->labelLength = scalePtr->label ? strlen(scalePtr->label) : 0;
Tk_SetBackgroundFromBorder(scalePtr->tkwin, scalePtr->bgBorder);