From 7fc8406b8f88cbc03290ffe6447758bbf9466b7f Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 16 Dec 2018 19:04:08 +0100 Subject: [PATCH] [tests] use double quotes for \0 --- tests/src/io/base-source_custom.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/io/base-source_custom.h b/tests/src/io/base-source_custom.h index 3991160c..cff2d3e4 100644 --- a/tests/src/io/base-source_custom.h +++ b/tests/src/io/base-source_custom.h @@ -74,7 +74,7 @@ int test_wrong_params(void) aubio_source_custom_t *s; if (new_aubio_source_custom(0, samplerate, hop_size)) return 1; - if (new_aubio_source_custom('\0', samplerate, hop_size)) return 1; + if (new_aubio_source_custom("\0", samplerate, hop_size)) return 1; if (new_aubio_source_custom(uri, -1, hop_size)) return 1; if (new_aubio_source_custom(uri, 0, 0)) return 1; -- 2.11.0