diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-18 14:06:17 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-18 14:06:17 (GMT) |
commit | d7364d1f4bcb025930cf6d91cb2fe5787918bc41 (patch) | |
tree | 2d6a5d0e295ff78acb9fc9b3d15b6d340b6a8b21 /generic/tclStubLib.c | |
parent | 303fbfc4be38a234f52db032c7cb87d0482e9cdc (diff) | |
parent | 176431f58481aeaba56e3463648fd85990236de4 (diff) | |
download | tcl-d7364d1f4bcb025930cf6d91cb2fe5787918bc41.zip tcl-d7364d1f4bcb025930cf6d91cb2fe5787918bc41.tar.gz tcl-d7364d1f4bcb025930cf6d91cb2fe5787918bc41.tar.bz2 |
Merge 8.7
Diffstat (limited to 'generic/tclStubLib.c')
-rw-r--r-- | generic/tclStubLib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclStubLib.c b/generic/tclStubLib.c index b26fb01..9381532 100644 --- a/generic/tclStubLib.c +++ b/generic/tclStubLib.c @@ -65,7 +65,7 @@ Tcl_InitStubs( * times. [Bug 615304] */ - if (!stubsPtr || (stubsPtr->magic != (((exact&0xff00) >= 0x900) ? magic : TCL_STUB_MAGIC))) { + if (!stubsPtr || (stubsPtr->magic != (((exact&0xFF00) >= 0x900) ? magic : TCL_STUB_MAGIC))) { iPtr->legacyResult = "interpreter uses an incompatible stubs mechanism"; iPtr->legacyFreeProc = 0; /* TCL_STATIC */ return NULL; @@ -101,7 +101,7 @@ Tcl_InitStubs( } } } - if (((exact&0xff00) < 0x900)) { + if (((exact&0xFF00) < 0x900)) { /* We are running Tcl 8.x */ stubsPtr = (TclStubs *)pkgData; } |