X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..b0d623f7f2ae71ed96e60569f61f9a9a27016e80:/bsd/netinet/tcp_timer.h?ds=sidebyside diff --git a/bsd/netinet/tcp_timer.h b/bsd/netinet/tcp_timer.h index ef29f41a3..c4ea59c6b 100644 --- a/bsd/netinet/tcp_timer.h +++ b/bsd/netinet/tcp_timer.h @@ -152,9 +152,9 @@ static char *tcptimers[] = */ #define TCPT_RANGESET(tv, value, tvmin, tvmax) do { \ (tv) = (value); \ - if ((u_long)(tv) < (u_long)(tvmin)) \ + if ((uint32_t)(tv) < (uint32_t)(tvmin)) \ (tv) = (tvmin); \ - else if ((u_long)(tv) > (u_long)(tvmax)) \ + else if ((uint32_t)(tv) > (uint32_t)(tvmax)) \ (tv) = (tvmax); \ } while(0)