summaryrefslogtreecommitdiffstats
path: root/generic/tkConfig.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-08-11 12:17:08 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-08-11 12:17:08 (GMT)
commitcaf3d7dc0594cd7f8e917757cbd49c931414ef18 (patch)
tree6628dcb4bda2551aaf3158b37e00d36264d17744 /generic/tkConfig.c
parent0c1c0c2dc87d2fb75c61c730f4064440a0f99ecc (diff)
downloadtk-caf3d7dc0594cd7f8e917757cbd49c931414ef18.zip
tk-caf3d7dc0594cd7f8e917757cbd49c931414ef18.tar.gz
tk-caf3d7dc0594cd7f8e917757cbd49c931414ef18.tar.bz2
Fix [Bug 1252702]
Diffstat (limited to 'generic/tkConfig.c')
-rw-r--r--generic/tkConfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkConfig.c b/generic/tkConfig.c
index 643ef81..124c452 100644
--- a/generic/tkConfig.c
+++ b/generic/tkConfig.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkConfig.c,v 1.18 2002/08/05 04:30:38 dgp Exp $
+ * RCS: @(#) $Id: tkConfig.c,v 1.18.2.1 2005/08/11 12:17:09 dkf Exp $
*/
/*
@@ -1158,7 +1158,7 @@ GetOptionFromObj(interp, objPtr, tablePtr)
* The answer isn't cached.
*/
- name = Tcl_GetStringFromObj(objPtr, (int *) NULL);
+ name = Tcl_GetStringFromObj(objPtr, NULL);
bestPtr = GetOption(name, tablePtr);
if (bestPtr == NULL) {
goto error;