From 9cc3888ac156aa046aadbd4261319e4822168bca Mon Sep 17 00:00:00 2001 From: ariff Date: Mon, 28 May 2007 14:09:06 +0000 Subject: [PATCH] Fix broken "rec" and "igain" introduced by previous commit. Convert reg to a full blown int since there's not much gain compacting it, and we do need its signess. --- sys/dev/sound/pcm/ac97.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/sound/pcm/ac97.c b/sys/dev/sound/pcm/ac97.c index d01fba5d9fb8..da8a17cee395 100644 --- a/sys/dev/sound/pcm/ac97.c +++ b/sys/dev/sound/pcm/ac97.c @@ -37,7 +37,7 @@ SND_DECLARE_FILE("$FreeBSD$"); MALLOC_DEFINE(M_AC97, "ac97", "ac97 codec"); struct ac97mixtable_entry { - unsigned reg:8; /* register index */ + int reg; /* register index */ /* reg < 0 if inverted polarity */ unsigned bits:4; /* width of control field */ unsigned ofs:4; /* offset (only if stereo=0) */