diff options
author | nijtmans <nijtmans> | 2008-10-30 23:18:59 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-10-30 23:18:59 (GMT) |
commit | 6f5d76a8755403d49a1465f4b9f41164a7f311f2 (patch) | |
tree | 9f94fbbc8e20c71db340e9aa5b02b47387bd82f0 /generic/tkScale.c | |
parent | 4dddde633cc58640988340836315bbb6b780b9da (diff) | |
download | tk-6f5d76a8755403d49a1465f4b9f41164a7f311f2.zip tk-6f5d76a8755403d49a1465f4b9f41164a7f311f2.tar.gz tk-6f5d76a8755403d49a1465f4b9f41164a7f311f2.tar.bz2 |
more internal -Wwrite-strings warning fixes
Diffstat (limited to 'generic/tkScale.c')
-rw-r--r-- | generic/tkScale.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkScale.c b/generic/tkScale.c index d42d4de..374cc1e 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.31 2008/10/17 23:18:37 nijtmans Exp $ + * RCS: @(#) $Id: tkScale.c,v 1.32 2008/10/30 23:18:59 nijtmans Exp $ */ #include "default.h" @@ -1176,7 +1176,7 @@ ScaleVarProc( int flags) /* Information about what happened. */ { register TkScale *scalePtr = clientData; - char *resultStr; + const char *resultStr; double value; Tcl_Obj *valuePtr; int result; @@ -1227,7 +1227,7 @@ ScaleVarProc( } TkEventuallyRedrawScale(scalePtr, REDRAW_SLIDER); - return resultStr; + return (char *) resultStr; } /* |