[asterisk-commits] russell: trunk r208193 - /trunk/main/cel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jul 22 20:31:22 CDT 2009
Author: russell
Date: Wed Jul 22 20:31:18 2009
New Revision: 208193
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=208193
Log:
Resolve compiler warning on mac.
Modified:
trunk/main/cel.c
Modified: trunk/main/cel.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/main/cel.c?view=diff&rev=208193&r1=208192&r2=208193
==============================================================================
--- trunk/main/cel.c (original)
+++ trunk/main/cel.c Wed Jul 22 20:31:18 2009
@@ -421,7 +421,8 @@
}
if (ast_strlen_zero(cel_dateformat)) {
- snprintf(timebuf, sizeof(timebuf), "%ld.%06ld", record.event_time.tv_sec, record.event_time.tv_usec);
+ snprintf(timebuf, sizeof(timebuf), "%ld.%06ld", record.event_time.tv_sec,
+ (long) record.event_time.tv_usec);
} else {
struct ast_tm tm;
ast_localtime(&record.event_time, &tm, NULL);
More information about the asterisk-commits
mailing list