Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
net-tools
net-tools-1.60-long_to_int.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File net-tools-1.60-long_to_int.diff of Package net-tools
--- net-tools-1.60/lib/inet.c +++ net-tools-1.60/lib/inet.c @@ -144,7 +144,7 @@ struct hostent *ent; struct netent *np; struct addr *pn; - unsigned long ad, host_ad; + uint32_t ad, host_ad; int host = 0; /* Grmpf. -FvK */ @@ -155,7 +155,7 @@ errno = EAFNOSUPPORT; return (-1); } - ad = (unsigned long) sin->sin_addr.s_addr; + ad = sin->sin_addr.s_addr; #ifdef DEBUG fprintf (stderr, "rresolve: %08lx, mask %08x, num %08x \n", ad, netmask, numeric); #endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor