]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[unit-tests] [mod_sndfile] fix build for Debian Jessie
authorDragos Oancea <dragos@signalwire.com>
Tue, 19 May 2020 11:24:43 +0000 (11:24 +0000)
committerAndrey Volk <andywolk@gmail.com>
Mon, 9 Aug 2021 15:47:55 +0000 (18:47 +0300)
src/mod/formats/mod_sndfile/test/test_sndfile.c

index d2eb2b4f34407efc4b24842a8550efa307957f4f..c6ab8517ada113b9cac0bb53b49bf186a8b7aca3 100644 (file)
@@ -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);