summaryrefslogtreecommitdiff
path: root/ntpdate/ntpdate.c
diff options
context:
space:
mode:
Diffstat (limited to 'ntpdate/ntpdate.c')
-rw-r--r--ntpdate/ntpdate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ntpdate/ntpdate.c b/ntpdate/ntpdate.c
index 16569f3..08edc8b 100644
--- a/ntpdate/ntpdate.c
+++ b/ntpdate/ntpdate.c
@@ -751,7 +751,7 @@ receive(
*/
if (rbufp->recv_length == LEN_PKT_NOMAC)
has_mac = 0;
- else if (rbufp->recv_length >= LEN_PKT_NOMAC)
+ else if (rbufp->recv_length >= (int)LEN_PKT_NOMAC)
has_mac = 1;
else {
if (debug)