From c539b8aef301a3fc08d0bf11e33985953a5118d6 Mon Sep 17 00:00:00 2001 From: das Date: Fri, 19 Jan 2007 06:29:20 +0000 Subject: fix warning --- generic/tkUtil.c | 4 ++-- 1 file 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; -- cgit v0.12