diff --git a/src/math/matrix.c b/src/math/matrix.c index 0ca49f983abe..100e6da1bc02 100644 --- a/src/math/matrix.c +++ b/src/math/matrix.c @@ -120,7 +120,7 @@ int mat_multiply_elementwise(struct mat_matrix_16b *a, struct mat_matrix_16b *b, int16_t *x = a->data; int16_t *y = b->data; int16_t *z = c->data; - int64_t p; + int32_t p; int i; const int shift_minus_one = a->fractions + b->fractions - c->fractions - 1;