rem: if (Ns_ConnCopyToChannel(itPtr->conn, itPtr->conn->contentLength, chan) != NS_OK) {
add: if (Ns_ConnCopyToChannel(itPtr->conn, (size_t)itPtr->conn->contentLength, chan) != NS_OK) {
context: NsTclWriteContentObjCmd(ClientData arg, Tcl_Interp *interp, int objc, Tcl_Obj **objv){    NsInterp	*itPtr = arg;    Tcl_Channel  chan;    if (objc != 2 && objc != 3) {        Tcl_WrongNumArgs(interp, 1, objv, "?connid? channel");        return TCL_ERROR;    }    if (objc == 3 && !NsIsIdConn(Tcl_GetString(objv[1]))) {	Tcl_AppendStringsToObj(Tcl_GetObjResult(interp), "bad connid: \"", 		Tcl_GetString(objv[1]), "\"", NULL);	return TCL_ERROR;    }    if (itPtr->conn == NULL) {	Tcl_SetResult(interp, "no connection", TCL_STATIC);        return TCL_ERROR;    }    if (GetChan(interp, Tcl_GetString(objv[objc-1]), &chan) != TCL_OK) {	return TCL_ERROR;    }    Tcl_Flush(chan);    if (Ns_ConnCopyToChannel(itPtr->conn, itPtr->conn->contentLength, chan) != NS_OK) {        Tcl_SetResult(interp, "could not copy content (likely client disconnect)",		TCL_STATIC);        return TCL_ERROR;    }        return TCL_OK;}