summaryrefslogtreecommitdiffstats
path: root/generic/tkCmds.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-10-30 23:18:59 (GMT)
committernijtmans <nijtmans>2008-10-30 23:18:59 (GMT)
commit6f5d76a8755403d49a1465f4b9f41164a7f311f2 (patch)
tree9f94fbbc8e20c71db340e9aa5b02b47387bd82f0 /generic/tkCmds.c
parent4dddde633cc58640988340836315bbb6b780b9da (diff)
downloadtk-6f5d76a8755403d49a1465f4b9f41164a7f311f2.zip
tk-6f5d76a8755403d49a1465f4b9f41164a7f311f2.tar.gz
tk-6f5d76a8755403d49a1465f4b9f41164a7f311f2.tar.bz2
more internal -Wwrite-strings warning fixes
Diffstat (limited to 'generic/tkCmds.c')
-rw-r--r--generic/tkCmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCmds.c b/generic/tkCmds.c
index 83a6ecc..6038f17 100644
--- a/generic/tkCmds.c
+++ b/generic/tkCmds.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCmds.c,v 1.46 2008/10/18 14:22:21 dkf Exp $
+ * RCS: @(#) $Id: tkCmds.c,v 1.47 2008/10/30 23:18:59 nijtmans Exp $
*/
#include "tkInt.h"
@@ -1200,7 +1200,7 @@ Tk_WinfoObjCmd(
Tcl_Obj *const objv[]) /* Argument objects. */
{
int index, x, y, width, height, useX, useY, class, skip;
- char *string;
+ const char *string;
TkWindow *winPtr;
Tk_Window tkwin;