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/tkOldConfig.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/tkOldConfig.c')
-rw-r--r-- | generic/tkOldConfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkOldConfig.c b/generic/tkOldConfig.c index 37d278d..0639817 100644 --- a/generic/tkOldConfig.c +++ b/generic/tkOldConfig.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: tkOldConfig.c,v 1.24 2008/04/27 22:38:56 dkf Exp $ + * RCS: @(#) $Id: tkOldConfig.c,v 1.25 2008/10/30 23:18:59 nijtmans Exp $ */ #include "tkPort.h" @@ -607,7 +607,7 @@ Tk_ConfigureInfo( register Tk_ConfigSpec *specPtr; int needFlags, hateFlags; char *list; - char *leader = "{"; + const char *leader = "{"; needFlags = flags & ~(TK_CONFIG_USER_BIT - 1); if (Tk_Depth(tkwin) <= 1) { |