From: Dragos Oancea Date: Tue, 19 May 2020 11:24:43 +0000 (+0000) Subject: [unit-tests] [mod_sndfile] fix build for Debian Jessie X-Git-Tag: v1.10.7^2~302 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbcf6f2e2ddef44d46ea3650de007199be096e47;p=thirdparty%2Ffreeswitch.git [unit-tests] [mod_sndfile] fix build for Debian Jessie --- 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);