summaryrefslogtreecommitdiffstats
path: root/generic/tclZlib.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-12-23 08:27:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-12-23 08:27:02 (GMT)
commit753a557ea2976254eafdc0a1711fcf3ec34d0b2d (patch)
tree460e57d9387e7eeee7114bee464bf2aedc9c0b2d /generic/tclZlib.c
parentb82ed83ec2892183f6c503108b2c6bd610e94b2c (diff)
downloadtcl-753a557ea2976254eafdc0a1711fcf3ec34d0b2d.zip
tcl-753a557ea2976254eafdc0a1711fcf3ec34d0b2d.tar.gz
tcl-753a557ea2976254eafdc0a1711fcf3ec34d0b2d.tar.bz2
Eliminate the internal macro/function TclNewIntObj: In all cases TclNewLongObj is just as good.
Diffstat (limited to 'generic/tclZlib.c')
-rw-r--r--generic/tclZlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclZlib.c b/generic/tclZlib.c
index 7f7aff6..c231f44 100644
--- a/generic/tclZlib.c
+++ b/generic/tclZlib.c
@@ -373,7 +373,7 @@ ConvertErrorToList(
default:
TclNewLiteralStringObj(objv[2], "UNKNOWN");
- TclNewIntObj(objv[3], code);
+ TclNewLongObj(objv[3], code);
return Tcl_NewListObj(4, objv);
}
}