Date: Tue, 2 Sep 2008 17:13:11 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern tty_ttydisc.c Message-ID: <200809021713.m82HDRS8033775@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2008-09-02 17:13:11 UTC FreeBSD src repository Modified files: sys/kern tty_ttydisc.c Log: SVN rev 182683 on 2008-09-02 17:13:11Z by ed Use size_t to store the return value of ttydisc_getc(). The ttydisc_getc() routine obtains a read length from ttyoutq_read(). For no valid reason, the current code stores this value in an int, and returns a size_t. There is no need to perform this useless conversion. Obtained from: //depot/projects/mpsafetty/... Revision Changes Path 1.3 +3 -4 src/sys/kern/tty_ttydisc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809021713.m82HDRS8033775>