summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordas <das>2007-01-19 06:29:20 (GMT)
committerdas <das>2007-01-19 06:29:20 (GMT)
commitc539b8aef301a3fc08d0bf11e33985953a5118d6 (patch)
tree877901d8abaab953f2d79fd913a7a8e0501a857e /generic
parent1db742bc9e473d2b3172fdc5328b673a301ec365 (diff)
downloadtk-c539b8aef301a3fc08d0bf11e33985953a5118d6.zip
tk-c539b8aef301a3fc08d0bf11e33985953a5118d6.tar.gz
tk-c539b8aef301a3fc08d0bf11e33985953a5118d6.tar.bz2
fix warning
Diffstat (limited to 'generic')
-rw-r--r--generic/tkUtil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkUtil.c b/generic/tkUtil.c
index 543bf2d..3cf672d 100644
--- a/generic/tkUtil.c
+++ b/generic/tkUtil.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: tkUtil.c,v 1.15 2007/01/18 23:56:43 nijtmans Exp $
+ * RCS: @(#) $Id: tkUtil.c,v 1.16 2007/01/19 06:29:20 das Exp $
*/
#include "tkInt.h"
@@ -850,7 +850,7 @@ TkFindStateString(
{
for ( ; mapPtr->strKey != NULL; mapPtr++) {
if (numKey == mapPtr->numKey) {
- return mapPtr->strKey;
+ return (char*)(mapPtr->strKey);
}
}
return NULL;