Silence compiler warning.

This commit is contained in:
Raymond Hettinger 2009-05-16 01:46:11 +00:00
parent c3583b292a
commit afdfbc72fb

View file

@ -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;