rem: write(logPtr->fd, dsPtr->string, dsPtr->length) != dsPtr->length) {
add: write(logPtr->fd, dsPtr->string, (size_t)dsPtr->length) != dsPtr->length) {
context: LogFlush(Log *logPtr, Ns_DString *dsPtr){    if (dsPtr->length > 0) {    	if (logPtr->fd >= 0 &&	    write(logPtr->fd, dsPtr->string, dsPtr->length) != dsPtr->length) {	    Ns_Log(Error, "nslog: "		   "logging disabled: write() failed: '%s'", strerror(errno));	    close(logPtr->fd);	    logPtr->fd = -1;	}    	Ns_DStringTrunc(dsPtr, 0);    }    if (logPtr->fd < 0) {	return NS_ERROR;    }    return NS_OK;}