aboutsummaryrefslogtreecommitdiff
path: root/resolv/res_debug.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-01-06 22:07:28 +0000
committerUlrich Drepper <drepper@redhat.com>1997-01-06 22:07:28 +0000
commitdf4ef2ab9c0899b2670067cd97e58f7eb2913e00 (patch)
tree4cb343b5ba9ccdc9c0b96144412567b6a4eda0ee /resolv/res_debug.c
parent6f9e7002f38ae778b3ff2f586a3e5766382228e9 (diff)
downloadglibc-df4ef2ab9c0899b2670067cd97e58f7eb2913e00.tar
glibc-df4ef2ab9c0899b2670067cd97e58f7eb2913e00.tar.gz
glibc-df4ef2ab9c0899b2670067cd97e58f7eb2913e00.tar.bz2
glibc-df4ef2ab9c0899b2670067cd97e58f7eb2913e00.zip
update from main archive 960105cvs/libc-970107cvs/libc-970106
Diffstat (limited to 'resolv/res_debug.c')
-rw-r--r--resolv/res_debug.c4
1 files changed, 2 insertions, 2 deletions
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 {