Ignore:
Timestamp:
May 12, 2016, 1:27:42 AM (8 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/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
911c22f
Parents:
770f7b4
git-author:
Paul Brossier <piem@piem.org> (05/11/16 14:37:49)
git-committer:
Paul Brossier <piem@piem.org> (05/12/16 01:27:42)
Message:

python/ext/{aubioproxy,py-cvec}.c: use npy_intp, not long

File:
1 edited

Legend:

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

    r770f7b4 rbb4af3a  
    144144    return 1;
    145145  }
    146   long length = PyArray_SIZE ((PyArrayObject *)input);
     146  npy_intp length = PyArray_SIZE ((PyArrayObject *)input);
    147147  if (length != vec->length) {
    148148    PyErr_Format (PyExc_ValueError,
     
    164164    return 1;
    165165  }
    166   long length = PyArray_SIZE ((PyArrayObject *)input);
     166  npy_intp length = PyArray_SIZE ((PyArrayObject *)input);
    167167  if (length != vec->length) {
    168168    PyErr_Format (PyExc_ValueError,
Note: See TracChangeset for help on using the changeset viewer.