From 389cc093202767b6e54ed27cc11b32a6c9b36f22 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 30 Dec 2010 14:44:21 +0100 Subject: [PATCH] Shut up compiler warning --- ywho.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ywho.c b/ywho.c index 821b491..12a2079 100644 --- a/ywho.c +++ b/ywho.c @@ -563,7 +563,7 @@ show(void) putchar(' '); puttime((unsigned)u->total_time/(unsigned)HZ); putchar(' '); - for (c = u->proc->cmd_line; *c; c++) + for (c = (unsigned char *) u->proc->cmd_line; *c; c++) { if (*c < 0x20 || (*c >= 0x7f && *c < 0xa0)) putchar(' '); -- 2.39.2