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-printval-conversion.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File net-tools-1.60-printval-conversion.patch of Package net-tools
--- net-tools-1.60/statistics.c 2009-05-12 19:11:39.000000000 +0000 +++ net-tools-1.60/statistics.c 2009-05-12 19:12:26.000000000 +0000 @@ -233,7 +233,7 @@ return strcmp(((struct entry *) a)->title, ((struct entry *) b)->title); } -void printval(struct tabtab *tab, char *title, int val) +void printval(struct tabtab *tab, char *title, signed long val) { struct entry *ent = NULL, key; int type; @@ -244,7 +244,7 @@ ent = bsearch(&key, tab->tab, tab->size / sizeof(struct entry), sizeof(struct entry), cmpentries); if (!ent) { /* try our best */ - printf("%*s%s: %d\n", states[state].indent, "", title, val); + printf("%*s%s: %lu\n", states[state].indent, "", title, val); return; } type = ent->type;
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