aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/procps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/procps.c b/libbb/procps.c
index e76e1ac36..2d2a9665f 100644
--- a/libbb/procps.c
+++ b/libbb/procps.c
@@ -115,7 +115,7 @@ extern procps_status_t * procps_scan(int save_user_arg0)
buf[--n] = 0;
name = buf;
while(n) {
- if(*name < ' ')
+ if(((unsigned char)*name) < ' ')
*name = ' ';
name++;
n--;