Fix GCC 4.3 "array bounds exceeded" error in disc_flt.c.

Would whoever checked this in double-check my change?  I believe I got the intent of the code (which is not how it was written ;-) but I could be wrong.

--This line, and those belo

M    disc_flt.c
This commit is contained in:
R. Belmont 2008-10-29 03:42:33 +00:00
parent 31ee705dba
commit 99b29738b8

View File

@ -1053,8 +1053,10 @@ static void dst_rcfilter_sw_reset(node_description *node)
int i;
for (i = 0; i < 4; i++)
{
context->vCap[i] = 0;
context->exp[i] = RC_CHARGE_EXP(CD4066_ON_RES * DST_RCFILTER_SW__C(i));
}
node->output[0] = 0;
}