Index: third_party/opus/src/celt/modes.c |
diff --git a/third_party/opus/src/celt/modes.c b/third_party/opus/src/celt/modes.c |
index 911686e905522986b34f4db57d1623ae423aacd8..390c5e8aeb36aa48b16d2ffa202554dc174da661 100644 |
--- a/third_party/opus/src/celt/modes.c |
+++ b/third_party/opus/src/celt/modes.c |
@@ -427,7 +427,7 @@ void opus_custom_mode_destroy(CELTMode *mode) |
} |
#endif /* CUSTOM_MODES_ONLY */ |
opus_free((opus_int16*)mode->eBands); |
- opus_free((opus_int16*)mode->allocVectors); |
+ opus_free((unsigned char*)mode->allocVectors); |
opus_free((opus_val16*)mode->window); |
opus_free((opus_int16*)mode->logN); |