mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Silence compiler warning.
This commit is contained in:
parent
c3583b292a
commit
afdfbc72fb
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue