projects
/
platform
/
upstream
/
c-ares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54d5320
)
Fix compiler warning.
author
Gisle Vanem
<gvanem@broadpark.no>
Tue, 6 Feb 2007 19:00:42 +0000
(19:00 +0000)
committer
Gisle Vanem
<gvanem@broadpark.no>
Tue, 6 Feb 2007 19:00:42 +0000
(19:00 +0000)
adig.c
patch
|
blob
|
history
diff --git
a/adig.c
b/adig.c
index
059b034
..
6a23c51
100644
(file)
--- a/
adig.c
+++ b/
adig.c
@@
-555,8
+555,9
@@
static const unsigned char *display_rr(const unsigned char *aptr,
if (p + 20 > aptr + dlen)
return NULL;
printf("\t\t\t\t\t\t( %lu %lu %lu %lu %lu )",
- DNS__32BIT(p), DNS__32BIT(p+4), DNS__32BIT(p+8),
- DNS__32BIT(p+12), DNS__32BIT(p+16));
+ (unsigned long)DNS__32BIT(p), (unsigned long)DNS__32BIT(p+4),
+ (unsigned long)DNS__32BIT(p+8), (unsigned long)DNS__32BIT(p+12),
+ (unsigned long)DNS__32BIT(p+16));
break;
case T_TXT: