rem: } else if (write(fd, content, len) != len) {
add: } else if (write(fd, content, (size_t)len) != len) {
context: CgiSpool(Cgi *cgiPtr, Ns_Conn *conn){    int     len, fd;    char   *content, *err;    err = NULL;    len = conn->contentLength;    content = Ns_ConnContent(conn);    fd = Ns_GetTemp();    if (fd < 0) {	Ns_Log(Error, "nscgi: could not allocate temp file.");    } else if (write(fd, content, len) != len) {	err = "write";    } else if (lseek(fd, 0, SEEK_SET) != 0) {	err = "lseek";    }    if (err != NULL) {	Ns_Log(Error, "nscgi: temp file %s failed: %s", err, strerror(errno));	close(fd);	fd = -1;    }    if (fd < 0) {	return NS_ERROR;    }    cgiPtr->ifd = fd;    return NS_OK;}