From afdfbc72fb58dd01200573728e603b3da246c6e6 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sat, 16 May 2009 01:46:11 +0000 Subject: Silence compiler warning. --- Modules/audioop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12