Commit afdfbc72 authored by Raymond Hettinger's avatar Raymond Hettinger

Silence compiler warning.

parent c3583b29
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment