rid 64bit compile warnings

This commit is contained in:
Doug MacEachern 2005-02-16 22:39:10 +00:00
parent 07ab121475
commit df486b12dd
1 changed files with 4 additions and 0 deletions

View File

@ -1366,7 +1366,11 @@ static unsigned int hex2int(const char *x)
return j;
}
#ifdef __LP64__
#define ROUTE_FMT "%16s %128s %128s %X %ld %ld %ld %128s %ld %ld %ld\n"
#else
#define ROUTE_FMT "%16s %128s %128s %X %lld %lld %lld %128s %lld %lld %lld\n"
#endif
#define RTF_UP 0x0001
int sigar_net_route_list_get(sigar_t *sigar,