Skip to content
Snippets Groups Projects
Commit da5c8a12 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

changed the long to int typecasts to see if icc 8.0 complains less on this

parent 76c36688
No related branches found
No related tags found
No related merge requests found
......@@ -87,10 +87,10 @@ static void next_lookup(struct addr_query *aquery)
{
case 'b':
addr = ntohl(aquery->addr.s_addr);
a1 = (int)(addr >> 24) & 0xff;
a2 = (int)(addr >> 16) & 0xff;
a3 = (int)(addr >> 8) & 0xff;
a4 = (int)addr & 0xff;
a1 = (int)((addr >> 24) & 0xff);
a2 = (int)((addr >> 16) & 0xff);
a3 = (int)((addr >> 8) & 0xff);
a4 = (int)(addr & 0xff);
sprintf(name, "%d.%d.%d.%d.in-addr.arpa", a4, a3, a2, a1);
aquery->remaining_lookups = p + 1;
ares_query(aquery->channel, name, C_IN, T_PTR, addr_callback,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment