diff options
author | grehan <grehan@FreeBSD.org> | 2004-01-22 07:23:36 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2004-01-22 07:23:36 +0000 |
commit | 2dafdd4f00f15fa15ca85cd71c1f3c02f97f0e86 (patch) | |
tree | 376d48213587a799597a88ac216bca01388a3cb4 /usr.sbin/mixer | |
parent | f96af44358658859315aa3054e6738579d20d071 (diff) | |
download | FreeBSD-src-2dafdd4f00f15fa15ca85cd71c1f3c02f97f0e86.zip FreeBSD-src-2dafdd4f00f15fa15ca85cd71c1f3c02f97f0e86.tar.gz |
Userland signed char fixes for PPC build. Problems were using a char
return for getopt() and comparing to -1, ditto with fgetc() and EOF,
and using the kg_nice value from <sys/user.h>
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
Reviewed by: obrien, bde (a while back)
Tested lightly on: ppc, i386, make universe
Diffstat (limited to 'usr.sbin/mixer')
-rw-r--r-- | usr.sbin/mixer/mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mixer/mixer.c b/usr.sbin/mixer/mixer.c index f06abb3..7abac46 100644 --- a/usr.sbin/mixer/mixer.c +++ b/usr.sbin/mixer/mixer.c @@ -93,7 +93,7 @@ main(int argc, char *argv[]) int l = 0, r = 0, t = 0; char lstr[5], rstr[5]; int n = 0, lrel = 0, rrel = 0; - char ch; + int ch; char *name; |