Changeset c1c3a99


Ignore:
Timestamp:
Dec 23, 2018, 5:55:56 AM (5 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/timestretch, master
Children:
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.