Changeset c1c3a99


Ignore:
Timestamp:
Dec 23, 2018, 5:55:56 AM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
Children:
1fcd392, dc7362fd
Parents:
b4445fb
Message:

[py] fix compilation warning in py-source

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/ext/py-source.c

    rb4445fb rc1c3a99  
    584584      PyObject *vec = PyTuple_GetItem(done, 0);
    585585      // take a copy to prevent resizing internal arrays
    586       PyArrayObject *shortread = PyArray_FROM_OTF(vec, NPY_NOTYPE,
    587           NPY_ARRAY_ENSURECOPY);
     586      PyArrayObject *shortread = (PyArrayObject*)PyArray_FROM_OTF(vec,
     587          NPY_NOTYPE, NPY_ARRAY_ENSURECOPY);
    588588      PyArray_Dims newdims;
    589589      PyObject *reshaped;
Note: See TracChangeset for help on using the changeset viewer.