rem: for (int32 i = 0; i < *_length; i++) {
add: for (uint32 i = 0; i < *_length; i++) {
context: console_write(void *cookie, off_t pos, const void *buffer, size_t *_length){	struct console_desc *con = (struct console_desc *)cookie;	ssize_t written;#if 0{	const char *input = (const char *)buffer;	dprintf("console_write (%lu bytes): \"", *_length);	for (int32 i = 0; i < *_length; i++) {		if (input[i] < ' ')			dprintf("(%d:0x%x)", input[i], input[i]);		else			dprintf("%c", input[i]);	}	dprintf("\"\n");}#endif	mutex_lock(&con->lock);	update_cursor(con, -1, -1); // hide it	written = _console_write(con, buffer, *_length);	update_cursor(con, con->x, con->y);	mutex_unlock(&con->lock);	if (written >= 0) {		*_length = written;		return B_OK;	}	return written;}