* fhandler_tty.cc (fhandler_pty_slave::write): Change type of towrite to
	ssize_t.
	(fhandler_pty_slave::read): Ditto for totalread.