diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-08-02 12:45:54 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-08-02 12:45:54 (GMT) |
commit | 96906cee5e0ea778956e526b49b8b0b6c2f8f192 (patch) | |
tree | 857718f2c70893ad7410c2f6fa9b2dbe068c3f79 /generic/tclStubLib.c | |
parent | 0756701c6049945aae2eed978d7c60cd981eca80 (diff) | |
download | tcl-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.c | 2 |
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; } |