summaryrefslogtreecommitdiffstats
path: root/generic/tclStubLib.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-02 12:45:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-02 12:45:54 (GMT)
commit96906cee5e0ea778956e526b49b8b0b6c2f8f192 (patch)
tree857718f2c70893ad7410c2f6fa9b2dbe068c3f79 /generic/tclStubLib.c
parent0756701c6049945aae2eed978d7c60cd981eca80 (diff)
downloadtcl-96906cee5e0ea778956e526b49b8b0b6c2f8f192.zip
tcl-96906cee5e0ea778956e526b49b8b0b6c2f8f192.tar.gz
tcl-96906cee5e0ea778956e526b49b8b0b6c2f8f192.tar.bz2
Add one more knownMsvcBug marker, for a test-case which sometimes fails in Travis.
Fix a struct initializer, add two typecasts and a "const", which can generate gcc warnings with some compiler options.
Diffstat (limited to 'generic/tclStubLib.c')
-rw-r--r--generic/tclStubLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStubLib.c b/generic/tclStubLib.c
index 859cbf9..bebea81 100644
--- a/generic/tclStubLib.c
+++ b/generic/tclStubLib.c
@@ -68,7 +68,7 @@ Tcl_InitStubs(
*/
if (!stubsPtr || (stubsPtr->magic != TCL_STUB_MAGIC)) {
- iPtr->result = "interpreter uses an incompatible stubs mechanism";
+ iPtr->result = (char *)"interpreter uses an incompatible stubs mechanism";
iPtr->freeProc = TCL_STATIC;
return NULL;
}