diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/audioop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/audioop.c b/Modules/audioop.c index c6d9df5..50a899e 100644 --- a/Modules/audioop.c +++ b/Modules/audioop.c @@ -998,8 +998,8 @@ audioop_ratecv(self, args) inrate /= d; outrate /= d; - prev_i = malloc(nchannels * sizeof(int)); - cur_i = malloc(nchannels * sizeof(int)); + prev_i = (int *) malloc(nchannels * sizeof(int)); + cur_i = (int *) malloc(nchannels * sizeof(int)); len /= size * nchannels; /* # of frames */ if (state == Py_None) { |