ref: 5c849afa23b33c53e026cddce920634e8861d930
parent: 26c6ee4874858a60789094cfff94c8cd6e2d921d
author: Paul Brossier <piem@piem.org>
date: Sat Dec 15 21:01:00 EST 2018
[tests] use double quote to test \0 as a string Prevents clang throwing an error, since '\0' is rightfully treated as a single character. See this explanation by Stephen J. Butler: https://lists.macports.org/pipermail/macports-dev/2016-June/033168.html
--- a/tests/src/io/test-source.c
+++ b/tests/src/io/test-source.c
@@ -70,7 +70,7 @@
aubio_source_t *s;
if (new_aubio_source(0, samplerate, hop_size)) return 1;
- if (new_aubio_source('\0', samplerate, hop_size)) return 1;
+ if (new_aubio_source("\0", samplerate, hop_size)) return 1;
if (new_aubio_source(uri, -1, hop_size)) return 1;
if (new_aubio_source(uri, 0, 0)) return 1;
--
⑨