summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strcat.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/strcat.c')
-rw-r--r--lib/libc/string/strcat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/string/strcat.c b/lib/libc/string/strcat.c
index 3436967..95dcd1d 100644
--- a/lib/libc/string/strcat.c
+++ b/lib/libc/string/strcat.c
@@ -45,6 +45,6 @@ strcat(s, append)
char *save = s;
for (; *s; ++s);
- while (*s++ = *append++);
+ while ((*s++ = *append++));
return(save);
}
OpenPOWER on IntegriCloud