mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Fix signed/unsigned compiler warning.
This commit is contained in:
parent
1917ad587f
commit
1672dc60ec
1 changed files with 1 additions and 1 deletions
|
|
@ -1116,7 +1116,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