Changeset d22b568


Ignore:
Timestamp:
Nov 29, 2018, 12:24:40 AM (11 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master
Children:
cb288f2
Parents:
aa15080
Message:

[tests] use constant for array size, include string.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/utils_tests.h

    raa15080 rd22b568  
    55#include <assert.h>
    66#include "config.h"
     7
     8#ifdef HAVE_STRING_H
     9#include <string.h>
     10#endif
    711
    812#ifdef HAVE_UNISTD_H
     
    111115int run_on_default_sink( int main(int, char**) )
    112116{
    113   int argc = 2, err;
     117  const int argc = 2;
     118  int err = 0;
    114119  char* argv[argc];
    115120  char sink_path[PATH_MAX] = "tmp_aubio_XXXXXX";
Note: See TracChangeset for help on using the changeset viewer.