diff options
author | das <das> | 2007-01-19 06:29:20 (GMT) |
---|---|---|
committer | das <das> | 2007-01-19 06:29:20 (GMT) |
commit | 671c17e1110e2680be86e019b921579aead4ff99 (patch) | |
tree | 877901d8abaab953f2d79fd913a7a8e0501a857e /generic | |
parent | 51ce547afc36b2651e2af9be500571b783ac80d4 (diff) | |
download | tk-671c17e1110e2680be86e019b921579aead4ff99.zip tk-671c17e1110e2680be86e019b921579aead4ff99.tar.gz tk-671c17e1110e2680be86e019b921579aead4ff99.tar.bz2 |
fix warning
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkUtil.c | 4 |
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; |