From: <arj...@us...> - 2013-04-26 10:02:10
|
Revision: 12308 http://sourceforge.net/p/plplot/code/12308 Author: arjenmarkus Date: 2013-04-26 10:02:06 +0000 (Fri, 26 Apr 2013) Log Message: ----------- Use an explicit cast to solve the const-ness mismatch in the call to Tcl_SetResult. Modified Paths: -------------- trunk/bindings/tk/plserver.c Modified: trunk/bindings/tk/plserver.c =================================================================== --- trunk/bindings/tk/plserver.c 2013-04-24 21:24:15 UTC (rev 12307) +++ trunk/bindings/tk/plserver.c 2013-04-26 10:02:06 UTC (rev 12308) @@ -131,7 +131,7 @@ fprintf( stderr, "\ The client_<xxx> and -child options should not be used except via the\n\ PLplot/Tk driver.\n\n(wish) " ); - Tcl_SetResult( interp, helpmsg, TCL_VOLATILE ); + Tcl_SetResult( interp, (char *) helpmsg, TCL_VOLATILE ); } // No longer need interpreter This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |