summaryrefslogtreecommitdiff
path: root/firmware/common/strcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/strcpy.c')
-rw-r--r--firmware/common/strcpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/strcpy.c b/firmware/common/strcpy.c
index 3dc3c33f60..0580d88cb8 100644
--- a/firmware/common/strcpy.c
+++ b/firmware/common/strcpy.c
@@ -65,7 +65,7 @@ _DEFUN (strcpy, (dst0, src0),
65#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__) 65#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
66 char *s = dst0; 66 char *s = dst0;
67 67
68 while (*dst0++ = *src0++) 68 while ((*dst0++ = *src0++))
69 ; 69 ;
70 70
71 return s; 71 return s;