What compiler are you running? It works fine for me and I don't see any errors or warnings.
On Mon, Aug 2, 2010 at 6:05 AM, Alexandre Julliard <julli...@winehq.org> wrote: > Jeff Cook <j...@deserettechnology.com> writes: > >> @@ -245,6 +245,10 @@ static void fillcontrols(mixer *mmixer) >> for (id = 0; id < mmixer->chans; ++id) >> { >> line *mline = &mmixer->lines[id]; >> + if (!mline->elem) >> + { >> + break; >> + } >> int ofs = CONTROLSPERLINE * id; > > You can't do that: > > mixer.c: In function ‘fillcontrols’: > mixer.c:252: error: ISO C90 forbids mixed declarations and code > > -- > Alexandre Julliard > julli...@winehq.org >