diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-20 19:17:28 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-20 19:17:28 +0000 |
commit | b087a0e5f0d8319a58c44395161dfefd66980ceb (patch) | |
tree | 5a39ac0c6b2c91c8b4477a28f8763f7e3215b675 /main/utils.c | |
parent | d2874f39e82a67ce55f9fb73a08e7fc54341e773 (diff) |
Resolve a number of FreeBSD build issues.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@253631 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/utils.c')
-rw-r--r-- | main/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/utils.c b/main/utils.c index 3fc9faf8f..a9b887205 100644 --- a/main/utils.c +++ b/main/utils.c @@ -1099,12 +1099,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, (long int) a.tv_usec); + (long) 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, (long int) a.tv_usec); + (long) a.tv_sec, (long int) a.tv_usec); a.tv_usec = 0; } return a; |