summaryrefslogtreecommitdiffstats
path: root/generic/tkScale.c
diff options
context:
space:
mode:
authorpatthoyts@users.sourceforge.net <patthoyts>2007-11-17 23:07:45 (GMT)
committerpatthoyts@users.sourceforge.net <patthoyts>2007-11-17 23:07:45 (GMT)
commit7b3e9d584cc593ade8089cc72916ca2c18104550 (patch)
tree23a7a36869acb014ae54c3af70058f4134ecac67 /generic/tkScale.c
parentd332b1b99f93998b89d9590f9a14f87a31c29093 (diff)
downloadtk-7b3e9d584cc593ade8089cc72916ca2c18104550.zip
tk-7b3e9d584cc593ade8089cc72916ca2c18104550.tar.gz
tk-7b3e9d584cc593ade8089cc72916ca2c18104550.tar.bz2
Tidy up some variable types.
Diffstat (limited to 'generic/tkScale.c')
-rw-r--r--generic/tkScale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkScale.c b/generic/tkScale.c
index 42b88b5..07b4406 100644
--- a/generic/tkScale.c
+++ b/generic/tkScale.c
@@ -16,7 +16,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkScale.c,v 1.26 2007/09/07 00:34:53 dgp Exp $
+ * RCS: @(#) $Id: tkScale.c,v 1.27 2007/11/17 23:07:46 patthoyts Exp $
*/
#include "default.h"
@@ -636,7 +636,7 @@ ConfigureScale(
ComputeFormat(scalePtr);
- scalePtr->labelLength = scalePtr->label ? strlen(scalePtr->label) : 0;
+ scalePtr->labelLength = scalePtr->label ? (int)strlen(scalePtr->label) : 0;
Tk_SetBackgroundFromBorder(scalePtr->tkwin, scalePtr->bgBorder);