summaryrefslogtreecommitdiffstats
path: root/win/tclWinTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-23 12:30:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-23 12:30:28 (GMT)
commit6f14ff020a548ab6adcb30836c498ab0fe921970 (patch)
tree36a35c68a8d8f61e3b2e51e236b86513e4138025 /win/tclWinTest.c
parentbb146c387f42e478b1d8ffbc8617988fb572587c (diff)
downloadtcl-6f14ff020a548ab6adcb30836c498ab0fe921970.zip
tcl-6f14ff020a548ab6adcb30836c498ab0fe921970.tar.gz
tcl-6f14ff020a548ab6adcb30836c498ab0fe921970.tar.bz2
make some more internal tables const
On cygwin, install dll's in /usr/bin, not in /usr/lib
Diffstat (limited to 'win/tclWinTest.c')
-rw-r--r--win/tclWinTest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinTest.c b/win/tclWinTest.c
index 0ddd76b..dadd067 100644
--- a/win/tclWinTest.c
+++ b/win/tclWinTest.c
@@ -440,7 +440,7 @@ TestExceptionCmd(
int objc, /* Argument count */
Tcl_Obj *CONST objv[]) /* Argument vector */
{
- static char *cmds[] = {
+ static CONST84 char *cmds[] = {
"access_violation",
"datatype_misalignment",
"array_bounds",
@@ -464,7 +464,7 @@ TestExceptionCmd(
"ctrl+c",
NULL
};
- static DWORD exceptions[] = {
+ static const DWORD exceptions[] = {
EXCEPTION_ACCESS_VIOLATION,
EXCEPTION_DATATYPE_MISALIGNMENT,
EXCEPTION_ARRAY_BOUNDS_EXCEEDED,