diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-04-26 15:59:33 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-04-26 15:59:33 (GMT) |
commit | bc6a36f9493f9a335838085a41f225ed458e4075 (patch) | |
tree | d49af1e5860d63c02ddce6079f06ae40a6beb100 /generic/tclIO.c | |
parent | 40c481c41a592c3498ba83422edd7d1394b5a1b0 (diff) | |
parent | 208f8c30a1c20162f7ec27c09afb7818153f254d (diff) | |
download | tcl-bc6a36f9493f9a335838085a41f225ed458e4075.zip tcl-bc6a36f9493f9a335838085a41f225ed458e4075.tar.gz tcl-bc6a36f9493f9a335838085a41f225ed458e4075.tar.bz2 |
Merge 9.0
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r-- | generic/tclIO.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c index dcfbaad..650695c 100644 --- a/generic/tclIO.c +++ b/generic/tclIO.c @@ -4573,7 +4573,7 @@ Tcl_GetsObj( if ((statePtr->encoding == NULL) && ((statePtr->inputTranslation == TCL_TRANSLATE_LF) || (statePtr->inputTranslation == TCL_TRANSLATE_CR)) - && (Tcl_GetBytesFromObj)(NULL, objPtr, NULL) != NULL) { + && Tcl_GetBytesFromObj(NULL, objPtr, (size_t *)NULL) != NULL) { return TclGetsObjBinary(chan, objPtr); } @@ -5843,7 +5843,7 @@ DoReadChars( && (statePtr->inEofChar == '\0'); if (appendFlag) { - if (binaryMode && (NULL == Tcl_GetBytesFromObj(NULL, objPtr, NULL))) { + if (binaryMode && (NULL == Tcl_GetBytesFromObj(NULL, objPtr, (size_t *)NULL))) { binaryMode = 0; } } else { |