Date: Fri, 4 Jul 2003 18:31:31 -0700 (PDT) From: Thomas Moestl <tmm@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/zs zs.c Message-ID: <200307050131.h651VVFm073470@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
tmm 2003/07/04 18:31:31 PDT FreeBSD src repository Modified files: sys/dev/zs zs.c Log: Fix a signedness problem in zstty_cncheckc(): when no character is ready, -1 should be returned, but it was assigned to an uint8_t (which is extended to an int to form the return value), causing 255 to be returned instead. Revision Changes Path 1.12 +1 -1 src/sys/dev/zs/zs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307050131.h651VVFm073470>