summaryrefslogtreecommitdiffstats
path: root/generic/tclOptimize.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-06 13:14:41 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-06 13:14:41 (GMT)
commit391948de408337582c0f29f4f897e1d0d5d96fcc (patch)
treed181186b8e91a5292f6a2c7c555ff5bb301aa189 /generic/tclOptimize.c
parent73f359fe17c344733d247c82eb62e6e4f8313abf (diff)
parent6c9fa195b08a24ca759c7d0e2129a33137bbbccd (diff)
downloadtcl-391948de408337582c0f29f4f897e1d0d5d96fcc.zip
tcl-391948de408337582c0f29f4f897e1d0d5d96fcc.tar.gz
tcl-391948de408337582c0f29f4f897e1d0d5d96fcc.tar.bz2
Merge 8.5. More usage of UCHAR() macro.
Diffstat (limited to 'generic/tclOptimize.c')
-rw-r--r--generic/tclOptimize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclOptimize.c b/generic/tclOptimize.c
index 827d89d..03daa40 100644
--- a/generic/tclOptimize.c
+++ b/generic/tclOptimize.c
@@ -34,7 +34,7 @@ static void TrimUnreachable(CompileEnv *envPtr);
#define AddrLength(address) \
(tclInstructionTable[*(unsigned char *)(address)].numBytes)
#define InstLength(instruction) \
- (tclInstructionTable[(unsigned char)(instruction)].numBytes)
+ (tclInstructionTable[UCHAR(instruction)].numBytes)
/*
* ----------------------------------------------------------------------