From: Martin Mares Date: Thu, 30 Dec 2010 13:44:21 +0000 (+0100) Subject: Shut up compiler warning X-Git-Tag: v1.13~4 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=389cc093202767b6e54ed27cc11b32a6c9b36f22;p=ywho.git Shut up compiler warning --- 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(' ');