diff options
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/string/memset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/string/memset.c b/newlib/libc/string/memset.c index eceff8e9c..41b7d03ba 100644 --- a/newlib/libc/string/memset.c +++ b/newlib/libc/string/memset.c @@ -103,7 +103,7 @@ _DEFUN (memset, (m, c, n), while (n--) { - *s++ = (char)c; + *s++ = (char)d; } return m; |