Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv11056

Modified Files:
        utils.c 
Log Message:
fix a couple of warnings on osx


Index: utils.c
===================================================================
RCS file: /usr/cvsroot/asterisk/utils.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- utils.c     29 Aug 2005 22:39:39 -0000      1.66
+++ utils.c     2 Sep 2005 11:39:24 -0000       1.67
@@ -563,12 +563,12 @@
 {
        if (a.tv_usec >= ONE_MILLION) {
                ast_log(LOG_WARNING, "warning too large timestamp %ld.%ld\n",
-                       a.tv_sec, a.tv_usec);
+                       a.tv_sec, (long int) a.tv_usec);
                a.tv_sec += a.tv_usec % ONE_MILLION;
                a.tv_usec %= ONE_MILLION;
        } else if (a.tv_usec < 0) {
                ast_log(LOG_WARNING, "warning negative timestamp %ld.%ld\n",
-                               a.tv_sec, a.tv_usec);
+                               a.tv_sec, (long int) a.tv_usec);
                a.tv_usec = 0;
        }
        return a;

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to