summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-04-26 15:59:33 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-04-26 15:59:33 (GMT)
commitbc6a36f9493f9a335838085a41f225ed458e4075 (patch)
treed49af1e5860d63c02ddce6079f06ae40a6beb100 /generic/tclIO.c
parent40c481c41a592c3498ba83422edd7d1394b5a1b0 (diff)
parent208f8c30a1c20162f7ec27c09afb7818153f254d (diff)
downloadtcl-bc6a36f9493f9a335838085a41f225ed458e4075.zip
tcl-bc6a36f9493f9a335838085a41f225ed458e4075.tar.gz
tcl-bc6a36f9493f9a335838085a41f225ed458e4075.tar.bz2
Merge 9.0
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r--generic/tclIO.c4
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 {