commit | 1672dc60ec6125956dff1e1996fa60b3b4c99d03 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Wed Jun 10 16:15:40 2009 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Wed Jun 10 16:15:40 2009 +0000 |
tree | 8704d3bc39cd0f3510b15e0ae4bd8b27e298ad6b | |
parent | 1917ad587f762777d3d4c686e7ba8fae2d4e0b71 [diff] [blame] |
Fix signed/unsigned compiler warning.
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 @@ 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;