diff options
author | aqua <aqua@iserlohn-fortress.net> | 2023-02-12 17:28:33 +0200 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2023-02-12 17:28:33 +0200 |
commit | 878cdffb3f69c780cb55f1fbb54747d9066a385a (patch) | |
tree | cd8bb7352bdb6d14ed20f5aa2d3d0e649f0f0427 /lib/stdlib | |
parent | Make shadowing variables an error (diff) | |
download | kernel-878cdffb3f69c780cb55f1fbb54747d9066a385a.tar.xz |
Generate dependency files for source code
Use the compiler to generate dependency files for all C, C++ and .S
assembly source code files. These are included in the makefiles where
the files are used.
Diffstat (limited to 'lib/stdlib')
-rw-r--r-- | lib/stdlib/memset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/memset.c b/lib/stdlib/memset.c index ccd46dd..a16bd05 100644 --- a/lib/stdlib/memset.c +++ b/lib/stdlib/memset.c @@ -2,6 +2,6 @@ void * memset(void *s, int c, long unsigned n) { char *pDest = (char *)s; - for (unsigned i = 0; i < n; ++i) pDest[i] = c; + for (unsigned i = 0; i < n; ++i) pDest[i] = (char)c; return s; } |