summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-05-16 01:46:11 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-05-16 01:46:11 (GMT)
commitafdfbc72fb58dd01200573728e603b3da246c6e6 (patch)
tree12a92afc5bd9e641db016a7b85a1895904458db7 /Modules
parentc3583b292ac038a8d5867e3ded1dc25c64800d74 (diff)
downloadcpython-afdfbc72fb58dd01200573728e603b3da246c6e6.zip
cpython-afdfbc72fb58dd01200573728e603b3da246c6e6.tar.gz
cpython-afdfbc72fb58dd01200573728e603b3da246c6e6.tar.bz2
Silence compiler warning.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/audioop.c2
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;