Fixed a warning when (experimentally) compiling with -Os

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4966 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2004-07-27 19:51:05 +00:00
parent 4cdcbb97bc
commit 3a43231392

View file

@ -65,7 +65,7 @@ _DEFUN (strcpy, (dst0, src0),
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
char *s = dst0;
while (*dst0++ = *src0++)
while ((*dst0++ = *src0++))
;
return s;