summaryrefslogtreecommitdiffstats
path: root/win/tclWinTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-25 12:58:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-25 12:58:20 (GMT)
commit61cb2bb279450c852f00de270e28b8b7fa1d4533 (patch)
tree2f8828416d8432593252efda2b82a1dca54b7c79 /win/tclWinTest.c
parentf09de888df51736f6e35a190ee1eef87b39048cf (diff)
parent328fa692fbd773527e3f656e71f312717a9daed9 (diff)
downloadtcl-61cb2bb279450c852f00de270e28b8b7fa1d4533.zip
tcl-61cb2bb279450c852f00de270e28b8b7fa1d4533.tar.gz
tcl-61cb2bb279450c852f00de270e28b8b7fa1d4533.tar.bz2
merge trunk
Add -Wwrite-strings to compiler options, so we can guarantee correct "const" usage.
Diffstat (limited to 'win/tclWinTest.c')
-rw-r--r--win/tclWinTest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinTest.c b/win/tclWinTest.c
index 773ed19..e046bd3 100644
--- a/win/tclWinTest.c
+++ b/win/tclWinTest.c
@@ -211,7 +211,7 @@ TestvolumetypeCmd(
TclWinConvertError(GetLastError());
return TCL_ERROR;
}
- Tcl_SetResult(interp, volType, TCL_VOLATILE);
+ Tcl_AppendResult(interp, volType, NULL);
return TCL_OK;
#undef VOL_BUF_SIZE
}