diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-06-16 12:32:49 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-06-16 12:32:49 (GMT) |
commit | c44181ecafaa160b94728593527ebca0260dc51f (patch) | |
tree | 0ec29da0c538b7360a29c01ede019832d514d796 /generic/tclCkalloc.c | |
parent | 14994d8a856c6e59890aad6023793a6760c98e1a (diff) | |
parent | 824f6218752373b6a11e1e9dfaa7d7f2eedc6c42 (diff) | |
download | tcl-c44181ecafaa160b94728593527ebca0260dc51f.zip tcl-c44181ecafaa160b94728593527ebca0260dc51f.tar.gz tcl-c44181ecafaa160b94728593527ebca0260dc51f.tar.bz2 |
Change signature of Tcl_GetRange() to use size_t. Merge trunk.
Diffstat (limited to 'generic/tclCkalloc.c')
-rw-r--r-- | generic/tclCkalloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCkalloc.c b/generic/tclCkalloc.c index f5a2340..35e868e 100644 --- a/generic/tclCkalloc.c +++ b/generic/tclCkalloc.c @@ -243,7 +243,7 @@ ValidateMemory( guard_failed = TRUE; fflush(stdout); byte &= 0xff; - fprintf(stderr, "low guard byte %d is 0x%x \t%c\n", (int)idx, byte, + fprintf(stderr, "low guard byte %zu is 0x%x \t%c\n", idx, byte, (isprint(UCHAR(byte)) ? byte : ' ')); /* INTL: bytes */ } } @@ -264,7 +264,7 @@ ValidateMemory( guard_failed = TRUE; fflush(stdout); byte &= 0xff; - fprintf(stderr, "hi guard byte %d is 0x%x \t%c\n", (int)idx, byte, + fprintf(stderr, "hi guard byte %zu is 0x%x \t%c\n", idx, byte, (isprint(UCHAR(byte)) ? byte : ' ')); /* INTL: bytes */ } } |