diff options
author | Raymond Hettinger <python@rcn.com> | 2009-06-10 16:15:40 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-06-10 16:15:40 (GMT) |
commit | 1672dc60ec6125956dff1e1996fa60b3b4c99d03 (patch) | |
tree | 8704d3bc39cd0f3510b15e0ae4bd8b27e298ad6b /Modules | |
parent | 1917ad587f762777d3d4c686e7ba8fae2d4e0b71 (diff) | |
download | cpython-1672dc60ec6125956dff1e1996fa60b3b4c99d03.zip cpython-1672dc60ec6125956dff1e1996fa60b3b4c99d03.tar.gz cpython-1672dc60ec6125956dff1e1996fa60b3b4c99d03.tar.bz2 |
Fix signed/unsigned compiler warning.
Diffstat (limited to 'Modules')
-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 767cae6..42daf9b 100644 --- a/Modules/audioop.c +++ b/Modules/audioop.c @@ -1116,7 +1116,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; |