]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak
authorMichael Jerris <mike@jerris.com>
Fri, 5 Sep 2008 16:16:36 +0000 (16:16 +0000)
committerMichael Jerris <mike@jerris.com>
Fri, 5 Sep 2008 16:16:36 +0000 (16:16 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9465 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_channel.c

index a0369bf6656bd4b6b463835e2b52bca543f37c1b..c364ff6ae7c914f49075f8355043906f5455fc3e 100644 (file)
@@ -2120,10 +2120,10 @@ SWITCH_DECLARE(switch_status_t) switch_channel_set_timestamps(switch_channel_t *
        switch_snprintf(tmp, sizeof(tmp), "%d", billsec);
        switch_channel_set_variable(channel, "billsec", tmp);
 
-       switch_snprintf(tmp, sizeof(tmp), "%d", progresssec);
+       switch_snprintf(tmp, sizeof(tmp), "%" SWITCH_TIME_T_FMT, progresssec);
        switch_channel_set_variable(channel, "progresssec", tmp);
 
-       switch_snprintf(tmp, sizeof(tmp), "%d", progress_mediasec);
+       switch_snprintf(tmp, sizeof(tmp), "%" SWITCH_TIME_T_FMT, progress_mediasec);
        switch_channel_set_variable(channel, "progress_mediasec", tmp);
 
        switch_snprintf(tmp, sizeof(tmp), "%d", legbillsec);
@@ -2138,7 +2138,7 @@ SWITCH_DECLARE(switch_status_t) switch_channel_set_timestamps(switch_channel_t *
        switch_snprintf(tmp, sizeof(tmp), "%d", progressmsec);
        switch_channel_set_variable(channel, "progressmsec", tmp);
 
-       switch_snprintf(tmp, sizeof(tmp), "%d", progressusec);
+       switch_snprintf(tmp, sizeof(tmp), "%" SWITCH_TIME_T_FMT, progressusec);
        switch_channel_set_variable(channel, "progress_mediamsec", tmp);
 
        switch_snprintf(tmp, sizeof(tmp), "%d", legbillmsec);