Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -156,8 +156,8 @@ Py_filterbank_set_mel_coeffs_slaney (Py_filterbank * self, PyObject *args) · 155 unmodified lines | ||
| 156 | 156 | { |
| 157 | 157 | uint_t err = 0; |
| 158 | 158 | |
| 159 | − uint_t samplerate; | |
| 160 | − if (!PyArg_ParseTuple (args, "I", &samplerate)) { | |
| 159 | + smpl_t samplerate; | |
| 160 | + if (!PyArg_ParseTuple (args, AUBIO_NPY_SMPL_CHR, &samplerate)) { | |
| 161 | 161 | return NULL; |
| 162 | 162 | } |
| 163 | 163 | |