]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11521: [mod_av] Test program regression fix.
authorAndrey Volk <andrey@signalwire.com>
Wed, 14 Nov 2018 15:51:33 +0000 (19:51 +0400)
committerAndrey Volk <andywolk@gmail.com>
Wed, 2 Jan 2019 20:23:27 +0000 (00:23 +0400)
src/mod/applications/mod_av/test/test_avformat.c

index 59f6fb68c82d79f3ccb0b55ecf92470c89857c15..fed0264d34102d10cc607399bb288ce27dead363 100644 (file)
@@ -60,7 +60,7 @@ FST_CORE_BEGIN("conf")
                        fst_requires(switch_test_flag(&fh, SWITCH_FILE_OPEN));
 
                        status = switch_core_file_write(&fh, data, &len);
-                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "status: %d len: %d\n", status, len);
+                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "status: %d len: %d\n", status, (int)len);
                        fst_check(status == SWITCH_STATUS_SUCCESS);
                        // fst_requires(len == SAMPLES);
 
@@ -116,7 +116,7 @@ FST_CORE_BEGIN("conf")
                        fst_requires(switch_test_flag(&fh, SWITCH_FILE_OPEN));
 
                        status = switch_core_file_write(&fh, data, &len);
-                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "status: %d len: %d\n", status, len);
+                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "status: %d len: %d\n", status, (int)len);
                        fst_check(status == SWITCH_STATUS_SUCCESS);
                        // fst_requires(len == SAMPLES);