From 878cdffb3f69c780cb55f1fbb54747d9066a385a Mon Sep 17 00:00:00 2001 From: aqua Date: Sun, 12 Feb 2023 17:28:33 +0200 Subject: 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. --- lib/stdlib/memset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/stdlib') 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; } -- cgit v1.2.1