summaryrefslogtreecommitdiffstats
path: root/toolbox/watchprops.c
diff options
context:
space:
mode:
Diffstat (limited to 'toolbox/watchprops.c')
-rw-r--r--toolbox/watchprops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolbox/watchprops.c b/toolbox/watchprops.c
index 9921dbc..06cdebe 100644
--- a/toolbox/watchprops.c
+++ b/toolbox/watchprops.c
@@ -23,9 +23,9 @@ static bool str_equals(void *keyA, void *keyB)
static void announce(char *name, char *value)
{
- char *x;
+ unsigned char *x;
- for(x = value; *x; x++) {
+ for(x = (unsigned char *)value; *x; x++) {
if((*x < 32) || (*x > 127)) *x = '.';
}