Changeset a203d0e


Ignore:
Timestamp:
Nov 28, 2016, 5:19:32 PM (3 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, sampler, yinfft+
Children:
9e36acd
Parents:
bab8e3d
Message:

python/ext/py-cvec.c: use NPY_INTP_FMT

File:
1 edited

Legend:

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

    rbab8e3d ra203d0e  
    148148  if (length != vec->length) {
    149149    PyErr_Format (PyExc_ValueError,
    150         "input array has length %ld, but cvec has length %d", length,
     150        "input array has length %" NPY_INTP_FMT ", but cvec has length %d", length,
    151151        vec->length);
    152152    return 1;
     
    169169  if (length != vec->length) {
    170170    PyErr_Format (PyExc_ValueError,
    171         "input array has length %ld, but cvec has length %d", length,
     171        "input array has length %" NPY_INTP_FMT ", but cvec has length %d", length,
    172172        vec->length);
    173173    return 1;
Note: See TracChangeset for help on using the changeset viewer.