summaryrefslogtreecommitdiffstats
path: root/generic/tclCkalloc.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-18 13:54:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-18 13:54:06 (GMT)
commit176431f58481aeaba56e3463648fd85990236de4 (patch)
treeacd54df49d264cc7ceef526685b300026bcf7ed7 /generic/tclCkalloc.c
parentae243c85b7e7b470ea541cce41e76cd2cd7474f6 (diff)
parentaf7fa225c1d0ec592c7af29ead5922f45c1c15fb (diff)
downloadtcl-176431f58481aeaba56e3463648fd85990236de4.zip
tcl-176431f58481aeaba56e3463648fd85990236de4.tar.gz
tcl-176431f58481aeaba56e3463648fd85990236de4.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/tclCkalloc.c')
-rw-r--r--generic/tclCkalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCkalloc.c b/generic/tclCkalloc.c
index 6fd2f40..d81a281 100644
--- a/generic/tclCkalloc.c
+++ b/generic/tclCkalloc.c
@@ -246,7 +246,7 @@ ValidateMemory(
if (byte != GUARD_VALUE) {
guard_failed = TRUE;
fflush(stdout);
- byte &= 0xff;
+ byte &= 0xFF;
fprintf(stderr, "low guard byte %d is 0x%x \t%c\n", (int)idx, byte,
(isprint(UCHAR(byte)) ? byte : ' ')); /* INTL: bytes */
}
@@ -267,7 +267,7 @@ ValidateMemory(
if (byte != GUARD_VALUE) {
guard_failed = TRUE;
fflush(stdout);
- byte &= 0xff;
+ byte &= 0xFF;
fprintf(stderr, "hi guard byte %d is 0x%x \t%c\n", (int)idx, byte,
(isprint(UCHAR(byte)) ? byte : ' ')); /* INTL: bytes */
}