ao_lco_v2: Use int32_t for temporary box value in step_box
authorKeith Packard <keithp@keithp.com>
Thu, 17 Feb 2022 05:44:52 +0000 (21:44 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 17 Feb 2022 05:44:52 +0000 (21:44 -0800)
commit2f06b7c66dfa05c51d8b2afbc1e3c94e20767e4f
treefba1c12a59b00fe1405954db6e4cdd74d30bd149
parentd2f84f860917f88a34571b8b0f64d03adf5c8f54
ao_lco_v2: Use int32_t for temporary box value in step_box

Stepping to the next box will generate negative values and values
beyond the highest box number. Use a type capable of holding all of
those values, instead of int16_t.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/telelco-v2.0/ao_lco_v2.c