diff options
author | Raymond Hettinger <python@rcn.com> | 2009-05-16 01:46:11 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-05-16 01:46:11 (GMT) |
commit | afdfbc72fb58dd01200573728e603b3da246c6e6 (patch) | |
tree | 12a92afc5bd9e641db016a7b85a1895904458db7 /Modules/audioop.c | |
parent | c3583b292ac038a8d5867e3ded1dc25c64800d74 (diff) | |
download | cpython-afdfbc72fb58dd01200573728e603b3da246c6e6.zip cpython-afdfbc72fb58dd01200573728e603b3da246c6e6.tar.gz cpython-afdfbc72fb58dd01200573728e603b3da246c6e6.tar.bz2 |
Silence compiler warning.
Diffstat (limited to 'Modules/audioop.c')
-rw-r--r-- | Modules/audioop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/audioop.c b/Modules/audioop.c index b2fdb9a..0acf672 100644 --- a/Modules/audioop.c +++ b/Modules/audioop.c @@ -1121,7 +1121,7 @@ audioop_ratecv(PyObject *self, PyObject *args) outrate /= d; alloc_size = sizeof(int) * (unsigned)nchannels; - if (alloc_size < nchannels) { + if (alloc_size < (unsigned)nchannels) { PyErr_SetString(PyExc_MemoryError, "not enough memory for output buffer"); return 0; |