From 80e9dc4f0880723766db687ff7591f4e4d68ef4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 15 May 2002 09:36:46 +0000 Subject: [PATCH] Remove bogus cast. --- usr.sbin/trpt/trpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/trpt/trpt.c b/usr.sbin/trpt/trpt.c index 98fd673c04b..656b05ca3e0 100644 --- a/usr.sbin/trpt/trpt.c +++ b/usr.sbin/trpt/trpt.c @@ -200,7 +200,7 @@ main(argc, argv) qsort(tcp_pcbs, npcbs, sizeof(caddr_t), numeric); if (jflag) { for (i = 0;;) { - printf("%x", (int)tcp_pcbs[i]); + printf("%x", tcp_pcbs[i]); if (++i == npcbs) break; fputs(", ", stdout);