summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2010-01-03 00:19:25 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2010-01-03 00:19:25 (GMT)
commitd566cea9a4b9f90bc578fdedfb632bbd2eea9409 (patch)
treeecd7f2dfe2af474039041b725e201349ae2a2514 /win
parentb71d89c8e8d3742ef3d55b59e249b74672c68575 (diff)
downloadtk-d566cea9a4b9f90bc578fdedfb632bbd2eea9409.zip
tk-d566cea9a4b9f90bc578fdedfb632bbd2eea9409.tar.gz
tk-d566cea9a4b9f90bc578fdedfb632bbd2eea9409.tar.bz2
cast away const needed for msvc6 when calling Tcl_SetResult
Diffstat (limited to 'win')
-rw-r--r--win/tkWinDialog.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index cefa46d..3c9312d 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinDialog.c,v 1.66 2009/10/22 12:56:36 dkf Exp $
+ * RCS: @(#) $Id: tkWinDialog.c,v 1.67 2010/01/03 00:19:25 patthoyts Exp $
*
*/
@@ -2208,7 +2208,8 @@ Tk_MessageBoxObjCmd(
Tcl_DecrRefCount(tmpObj);
- Tcl_SetResult(interp, TkFindStateString(buttonMap, winCode), TCL_STATIC);
+ Tcl_SetResult(interp,
+ (char *)TkFindStateString(buttonMap, winCode), TCL_STATIC);
return TCL_OK;
}