diff options
author | tmm <tmm@FreeBSD.org> | 2003-07-05 01:31:30 +0000 |
---|---|---|
committer | tmm <tmm@FreeBSD.org> | 2003-07-05 01:31:30 +0000 |
commit | d95773a9511d1f21ea1fcf0d621b3d5f922e5cee (patch) | |
tree | 535625fdec90f2ce2776147d77a8811ee1fcee05 /lib/libc/stdio/vfwscanf.c | |
parent | 07db328f44d4ee88faa7b57878ec245ee0608841 (diff) | |
download | FreeBSD-src-d95773a9511d1f21ea1fcf0d621b3d5f922e5cee.zip FreeBSD-src-d95773a9511d1f21ea1fcf0d621b3d5f922e5cee.tar.gz |
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.
Diffstat (limited to 'lib/libc/stdio/vfwscanf.c')
0 files changed, 0 insertions, 0 deletions