summaryrefslogtreecommitdiffstats
path: root/generic/tkImage.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-02-03 23:55:47 (GMT)
committernijtmans <nijtmans>2009-02-03 23:55:47 (GMT)
commitdfa673f06ce6d9e177c3304330778e68b6cfb37f (patch)
treeaa98658e57c70b6cb91802ffef5779126e54b6b5 /generic/tkImage.c
parentf7a12726b3c789e685ad9e99e069dabbc218b794 (diff)
downloadtk-dfa673f06ce6d9e177c3304330778e68b6cfb37f.zip
tk-dfa673f06ce6d9e177c3304330778e68b6cfb37f.tar.gz
tk-dfa673f06ce6d9e177c3304330778e68b6cfb37f.tar.bz2
- eliminate some unnessary type casts
- some internal const decorations - spacing
Diffstat (limited to 'generic/tkImage.c')
-rw-r--r--generic/tkImage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkImage.c b/generic/tkImage.c
index 9effbf0..ca818a3 100644
--- a/generic/tkImage.c
+++ b/generic/tkImage.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkImage.c,v 1.42 2008/11/12 09:56:51 dkf Exp $
+ * RCS: @(#) $Id: tkImage.c,v 1.43 2009/02/03 23:55:47 nijtmans Exp $
*/
#include "tkInt.h"
@@ -226,7 +226,7 @@ Tk_ImageObjCmd(
Tcl_HashSearch search;
char idString[16 + TCL_INTEGER_SPACE];
TkDisplay *dispPtr = winPtr->dispPtr;
- char *arg, *name;
+ const char *arg, *name;
ThreadSpecificData *tsdPtr =
Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData));