summaryrefslogtreecommitdiffstats
path: root/generic/tkBusy.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/tkBusy.c
parent4dddde633cc58640988340836315bbb6b780b9da (diff)
downloadtk-6f5d76a8755403d49a1465f4b9f41164a7f311f2.zip
tk-6f5d76a8755403d49a1465f4b9f41164a7f311f2.tar.gz
tk-6f5d76a8755403d49a1465f4b9f41164a7f311f2.tar.bz2
more internal -Wwrite-strings warning fixes
Diffstat (limited to 'generic/tkBusy.c')
-rw-r--r--generic/tkBusy.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tkBusy.c b/generic/tkBusy.c
index 5536b2d..46c647c 100644
--- a/generic/tkBusy.c
+++ b/generic/tkBusy.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: tkBusy.c,v 1.4 2008/10/20 12:22:20 dkf Exp $
+ * RCS: @(#) $Id: tkBusy.c,v 1.5 2008/10/30 23:18:59 nijtmans Exp $
*/
#include "tkInt.h"
@@ -520,7 +520,8 @@ CreateBusy(
{
Busy *busyPtr;
int length, x, y;
- char *fmt, *name;
+ const char *fmt;
+ char *name;
Tk_Window tkBusy, tkChild, tkParent;
Window parent;
Tk_FakeWin *winPtr;