]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
trivial compiler warning
authorJeff Lenk <jeff@jefflenk.com>
Tue, 31 May 2011 19:10:21 +0000 (14:10 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Tue, 31 May 2011 19:10:21 +0000 (14:10 -0500)
src/switch_core_media_bug.c

index b211022b28121a45b28cb20145e76cf8ae95ef0d..d546fba47daef58fbed5e52f61fe68a2edd2224d 100644 (file)
@@ -411,7 +411,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_bug_transfer_recordings(switch
                        if (!strcmp(bp->function, "session_record")) {
                                list[x] = switch_core_session_strdup(new_session, bp->target);
                                if (bp->stop_time > 0) {
-                                       stop_times[x] = bp->stop_time - switch_epoch_time_now(NULL);
+                                       stop_times[x] = (int)(bp->stop_time - switch_epoch_time_now(NULL));
                                }
                                x++;
                        }