diff options
author | Guido van Rossum <guido@python.org> | 1997-10-31 20:32:13 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-10-31 20:32:13 +0000 |
commit | 6345ac6d61f637f0e5977a4dd37d88de18b4bdb9 (patch) | |
tree | ab1d954b4b819fb6f125cb351ea584efca4b0e86 /Modules/audioop.c | |
parent | 197346fafe41332b896999b5bbdc7b1dabe57262 (diff) | |
download | cpython-git-6345ac6d61f637f0e5977a4dd37d88de18b4bdb9.tar.gz |
Add cast to realloc/malloc call to shut up AIX compiler. (Vladimir Marangozov)
Diffstat (limited to 'Modules/audioop.c')
-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 c6d9df5bcb..50a899e511 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) { |