Deleted Added
full compact
65c65
< __FBSDID("$FreeBSD: head/lib/libc/net/getnetbydns.c 145626 2005-04-28 15:32:55Z ume $");
---
> __FBSDID("$FreeBSD: head/lib/libc/net/getnetbydns.c 146244 2005-05-15 20:15:15Z ume $");
261a262,264
> #if __LONG_BIT == 64
> ne->__n_pad0 = 0; /* ABI compatibility */
> #endif
271c274
< unsigned long net;
---
> uint32_t net;
279c282
< unsigned long net2;
---
> uint32_t net2;
281c284
< net = va_arg(ap, unsigned long);
---
> net = va_arg(ap, uint32_t);
330,331d332
< unsigned u_net = net; /* maybe net should be unsigned ? */
<
333,335c334,339
< while ((u_net & 0xff) == 0 && u_net != 0)
< u_net >>= 8;
< ne->n_net = u_net;
---
> while ((net & 0xff) == 0 && net != 0)
> net >>= 8;
> ne->n_net = net;
> #if __LONG_BIT == 64
> ne->__n_pad0 = 0; /* ABI compatibility */
> #endif