diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-09-02 11:39:24 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-09-02 11:39:24 +0000 |
commit | d976cebb0ca48306bf7c7baa52347c489dc2ea50 (patch) | |
tree | a4a81e798a9956ec2d906414e0984e15f325e7cd /utils.c | |
parent | 2b16364b05911941e1a860b30f2bdabec10b9233 (diff) |
fix a couple of warnings on osx
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6500 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils.c')
-rwxr-xr-x | utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -563,12 +563,12 @@ static struct timeval tvfix(struct timeval a) { 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; |