summaryrefslogtreecommitdiffstats
path: root/generic/tclBinary.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-06-28 20:30:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-06-28 20:30:24 (GMT)
commit94780336613da72b26e6572a616a2dfe9f087eca (patch)
treea319eb4e63e22b6af52e7c7a3bc06aa5b5160e0a /generic/tclBinary.c
parent66ec3cd3a668d06b78e321578eb5f3fa1cda5031 (diff)
downloadtcl-94780336613da72b26e6572a616a2dfe9f087eca.zip
tcl-94780336613da72b26e6572a616a2dfe9f087eca.tar.gz
tcl-94780336613da72b26e6572a616a2dfe9f087eca.tar.bz2
More using TCL_Z_MODIFIER where possible
Diffstat (limited to 'generic/tclBinary.c')
-rw-r--r--generic/tclBinary.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclBinary.c b/generic/tclBinary.c
index a34bd27..1b67bb9 100644
--- a/generic/tclBinary.c
+++ b/generic/tclBinary.c
@@ -2513,7 +2513,7 @@ BinaryDecodeHex(
badChar:
TclDecrRefCount(resultObj);
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "invalid hexadecimal digit \"%c\" at position %" TCL_Z_MODIFIER "d",
+ "invalid hexadecimal digit \"%c\" at position %" TCL_Z_MODIFIER "u",
c, data - datastart - 1));
return TCL_ERROR;
}
@@ -2915,7 +2915,7 @@ BinaryDecodeUu(
badUu:
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "invalid uuencode character \"%c\" at position %" TCL_Z_MODIFIER "d",
+ "invalid uuencode character \"%c\" at position %" TCL_Z_MODIFIER "u",
c, data - datastart - 1));
Tcl_SetErrorCode(interp, "TCL", "BINARY", "DECODE", "INVALID", NULL);
TclDecrRefCount(resultObj);
@@ -3065,7 +3065,7 @@ BinaryDecode64(
bad64:
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "invalid base64 character \"%c\" at position %" TCL_Z_MODIFIER "d",
+ "invalid base64 character \"%c\" at position %" TCL_Z_MODIFIER "u",
(char) c, data - datastart - 1));
TclDecrRefCount(resultObj);
return TCL_ERROR;