From df4ef2ab9c0899b2670067cd97e58f7eb2913e00 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 6 Jan 1997 22:07:28 +0000 Subject: update from main archive 960105 --- resolv/res_debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resolv/res_debug.c') diff --git a/resolv/res_debug.c b/resolv/res_debug.c index 23f27acb33..fa2ca80c34 100644 --- a/resolv/res_debug.c +++ b/resolv/res_debug.c @@ -805,7 +805,7 @@ __p_rr(cp, msg, file) n, c); /* orig ttl */ n = _getlong((u_char*)cp); - if (n != tmpttl) + if ((u_int32_t) n != tmpttl) fprintf(file, " %u", n); cp += INT32SZ; /* sig expire */ @@ -1434,7 +1434,7 @@ loc_ntoa(binary, ascii) longval = (templ - ((unsigned)1<<31)); GETLONG(templ, cp); - if (templ < referencealt) { /* below WGS 84 spheroid */ + if (templ < (u_int32_t) referencealt) { /* below WGS 84 spheroid */ altval = referencealt - templ; altsign = -1; } else { -- cgit 1.4.1