[asterisk-commits] trunk - r8138 /trunk/manager.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Jan 17 12:03:06 MST 2006


Author: oej
Date: Tue Jan 17 13:03:04 2006
New Revision: 8138

URL: http://svn.digium.com/view/asterisk?rev=8138&view=rev
Log:
Portability - compilation warning on Mac OS/X removed

Modified:
    trunk/manager.c

Modified: trunk/manager.c
URL: http://svn.digium.com/view/asterisk/trunk/manager.c?rev=8138&r1=8137&r2=8138&view=diff
==============================================================================
--- trunk/manager.c (original)
+++ trunk/manager.c Tue Jan 17 13:03:04 2006
@@ -1533,7 +1533,7 @@
 			if (timestampevents) {
 				now = ast_tvnow();
 				ast_build_string(&tmp_next, &tmp_left, "Timestamp: %ld.%06lu\r\n",
-						 now.tv_sec, now.tv_usec);
+						 now.tv_sec, (unsigned long) now.tv_usec);
 			}
 			va_start(ap, fmt);
 			ast_build_string_va(&tmp_next, &tmp_left, fmt, ap);



More information about the asterisk-commits mailing list