diff options
author | dgp <dgp@users.sourceforge.net> | 2021-11-07 14:52:29 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2021-11-07 14:52:29 (GMT) |
commit | 2c7899f9eaac69983a697b016a7b6262ed2aa5cf (patch) | |
tree | e132eb573de9a3598004ffee6e876f87e4b5b31e /generic/tclZlib.c | |
parent | 084b76b92a5ec029401f05a4138c1559602c23e7 (diff) | |
download | tcl-2c7899f9eaac69983a697b016a7b6262ed2aa5cf.zip tcl-2c7899f9eaac69983a697b016a7b6262ed2aa5cf.tar.gz tcl-2c7899f9eaac69983a697b016a7b6262ed2aa5cf.tar.bz2 |
Dodge a few macro games.
Diffstat (limited to 'generic/tclZlib.c')
-rw-r--r-- | generic/tclZlib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclZlib.c b/generic/tclZlib.c index 6944ff6..ab42ddd 100644 --- a/generic/tclZlib.c +++ b/generic/tclZlib.c @@ -2351,7 +2351,7 @@ ZlibStreamSubcmd( } if (compDictObj) { - if (NULL == Tcl_GetBytesFromObj(interp, compDictObj, NULL)) { + if (NULL == (Tcl_GetBytesFromObj)(interp, compDictObj, NULL)) { return TCL_ERROR; } } @@ -2533,7 +2533,7 @@ ZlibPushSubcmd( } } - if (compDictObj && (NULL == Tcl_GetBytesFromObj(interp, compDictObj, NULL))) { + if (compDictObj && (NULL == (Tcl_GetBytesFromObj)(interp, compDictObj, NULL))) { return TCL_ERROR; } @@ -3330,7 +3330,7 @@ ZlibTransformSetOption( /* not used */ TclNewStringObj(compDictObj, value, strlen(value)); Tcl_IncrRefCount(compDictObj); - if (NULL == Tcl_GetBytesFromObj(interp, compDictObj, NULL)) { + if (NULL == (Tcl_GetBytesFromObj)(interp, compDictObj, NULL)) { Tcl_DecrRefCount(compDictObj); return TCL_ERROR; } @@ -3721,7 +3721,7 @@ ZlibStackChannelTransform( if (compDictObj != NULL) { cd->compDictObj = Tcl_DuplicateObj(compDictObj); Tcl_IncrRefCount(cd->compDictObj); - Tcl_GetByteArrayFromObj(cd->compDictObj, (size_t *)NULL); + (Tcl_GetBytesFromObj)(NULL, cd->compDictObj, NULL); } if (format == TCL_ZLIB_FORMAT_RAW) { |