diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2006-06-21 09:52:37 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2006-06-21 09:52:37 +0000 |
commit | 48ecc1efc2e86d04c43e7e06a0a5226aa4917f08 (patch) | |
tree | 0544d9e838cf7cd34afcdb109be49898d7474491 /tools/tools/ipw | |
parent | 1679c7f4f46ee27a5517b3c4888513a08bb07302 (diff) | |
download | src-48ecc1efc2e86d04c43e7e06a0a5226aa4917f08.tar.gz src-48ecc1efc2e86d04c43e7e06a0a5226aa4917f08.zip |
Fix type warnings on 64-bit machines.
Notes
Notes:
svn path=/head/; revision=159829
Diffstat (limited to 'tools/tools/ipw')
-rw-r--r-- | tools/tools/ipw/ipwstats.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/tools/ipw/ipwstats.c b/tools/tools/ipw/ipwstats.c index 01d857a00536..3146d12ad472 100644 --- a/tools/tools/ipw/ipwstats.c +++ b/tools/tools/ipw/ipwstats.c @@ -260,17 +260,17 @@ get_statistics(const char *iface) printf("%-60s[", stat->desc); switch (stat->unit) { case INT: - printf("%lu", stats[stat->index]); + printf("%u", stats[stat->index]); break; case BOOL: printf(stats[stat->index] ? "true" : "false"); break; case PERCENTAGE: - printf("%lu%%", stats[stat->index]); + printf("%u%%", stats[stat->index]); break; case HEX: default: - printf("0x%08lX", stats[stat->index]); + printf("0x%08X", stats[stat->index]); } printf("]\n"); } |