summaryrefslogtreecommitdiffstats
path: root/win/tclWinReg.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)
commitec714d550beaef96474f793d50913556599c2ca5 (patch)
tree36a35c68a8d8f61e3b2e51e236b86513e4138025 /win/tclWinReg.c
parent7c0562b4a66a8c1d85f32b4ea92ef31ec8bbe2aa (diff)
downloadtcl-ec714d550beaef96474f793d50913556599c2ca5.zip
tcl-ec714d550beaef96474f793d50913556599c2ca5.tar.gz
tcl-ec714d550beaef96474f793d50913556599c2ca5.tar.bz2
make some more internal tables const
On cygwin, install dll's in /usr/bin, not in /usr/lib
Diffstat (limited to 'win/tclWinReg.c')
-rw-r--r--win/tclWinReg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinReg.c b/win/tclWinReg.c
index d4c7292..3960fda 100644
--- a/win/tclWinReg.c
+++ b/win/tclWinReg.c
@@ -49,7 +49,7 @@ static CONST char *rootKeyNames[] = {
"HKEY_PERFORMANCE_DATA", "HKEY_DYN_DATA", NULL
};
-static HKEY rootKeys[] = {
+static const HKEY rootKeys[] = {
HKEY_LOCAL_MACHINE, HKEY_USERS, HKEY_CLASSES_ROOT, HKEY_CURRENT_USER,
HKEY_CURRENT_CONFIG, HKEY_PERFORMANCE_DATA, HKEY_DYN_DATA
};