From cbcf6f2e2ddef44d46ea3650de007199be096e47 Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Tue, 19 May 2020 11:24:43 +0000 Subject: [PATCH] [unit-tests] [mod_sndfile] fix build for Debian Jessie --- src/mod/formats/mod_sndfile/test/test_sndfile.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mod/formats/mod_sndfile/test/test_sndfile.c b/src/mod/formats/mod_sndfile/test/test_sndfile.c index d2eb2b4f34..c6ab8517ad 100644 --- a/src/mod/formats/mod_sndfile/test/test_sndfile.c +++ b/src/mod/formats/mod_sndfile/test/test_sndfile.c @@ -422,7 +422,7 @@ FST_CORE_BEGIN("test_formats_and_muxing") { int i, exlen; switch_stream_handle_t stream = { 0 }; - test_params_t params[(sizeof(extensions) / sizeof(extensions[0]))] = { 0 }; + test_params_t params[(sizeof(extensions) / sizeof(extensions[0]))] = {{ 0 }}; SWITCH_STANDARD_STREAM(stream); @@ -465,7 +465,7 @@ FST_CORE_BEGIN("test_formats_and_muxing") { int i, exlen; switch_stream_handle_t stream = { 0 }; - test_params_t params[(sizeof(extensions) / sizeof(extensions[0]))] = { 0 }; + test_params_t params[(sizeof(extensions) / sizeof(extensions[0]))] = {{ 0 }}; SWITCH_STANDARD_STREAM(stream); @@ -506,7 +506,7 @@ FST_CORE_BEGIN("test_formats_and_muxing") { int i, exlen; switch_stream_handle_t stream = { 0 }; - test_params_t params[(sizeof(extensions) / sizeof(extensions[0]))] = { 0 }; + test_params_t params[(sizeof(extensions) / sizeof(extensions[0]))] = {{ 0 }}; SWITCH_STANDARD_STREAM(stream); @@ -549,7 +549,7 @@ FST_CORE_BEGIN("test_formats_and_muxing") { int i, exlen; switch_stream_handle_t stream = { 0 }; - test_params_t params[(sizeof(extensions) / sizeof(extensions[0]))] = { 0 }; + test_params_t params[(sizeof(extensions) / sizeof(extensions[0]))] = {{ 0 }}; SWITCH_STANDARD_STREAM(stream);