]> mj.ucw.cz Git - ywho.git/commitdiff
Shut up compiler warning
authorMartin Mares <mj@ucw.cz>
Thu, 30 Dec 2010 13:44:21 +0000 (14:44 +0100)
committerMartin Mares <mj@ucw.cz>
Thu, 30 Dec 2010 13:44:21 +0000 (14:44 +0100)
ywho.c

diff --git a/ywho.c b/ywho.c
index 821b491081510bfb9d7577f4a36129305f8280d6..12a2079cb59990dcaafbbede8850dfd7a1b17183 100644 (file)
--- 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(' ');