summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/dsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dsp.c b/apps/dsp.c
index 5627b05bca..c6d669b16a 100644
--- a/apps/dsp.c
+++ b/apps/dsp.c
@@ -485,8 +485,8 @@ void dsp_dither_enable(bool enable)
static void dither_init(void)
{
- memset(&dither_data[0], 0, sizeof(dither_data));
- memset(&dither_data[1], 0, sizeof(dither_data));
+ memset(&dither_data[0], 0, sizeof(struct dither_data));
+ memset(&dither_data[1], 0, sizeof(struct dither_data));
dsp->dither_bias = (1L << (dsp->frac_bits - NATIVE_DEPTH));
dsp->dither_mask = (1L << (dsp->frac_bits + 1 - NATIVE_DEPTH)) - 1;
}