Skip to content

Commit

Permalink
fix gcc 4.0 warning on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
willamowius committed Jan 30, 2018
1 parent 0f5fb84 commit 64edcf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RasTbl.h
Original file line number Diff line number Diff line change
Expand Up @@ -2135,9 +2135,9 @@ inline bool CallRec::IsUsed() const
if (m_usedCount != 0)
return true;
// also consider all calls that ever connected as used until 30 sec after disconnect (due to late arriving RTP)
if ((m_disconnectTime > 0) && ((time(NULL) - m_disconnectTime) < WAIT_DELETE_AFTER_DISCONNECT))
if ((m_disconnectTime > 0) && ((unsigned)(time(NULL) - m_disconnectTime) < WAIT_DELETE_AFTER_DISCONNECT))
return true;
if ((m_connectTime > 0) && ((time(NULL) - m_connectTime) < WAIT_DELETE_AFTER_DISCONNECT))
if ((m_connectTime > 0) && ((unsigned)(time(NULL) - m_connectTime) < WAIT_DELETE_AFTER_DISCONNECT))
return true;
return false;
}
Expand Down

0 comments on commit 64edcf1

Please sign in to comment.