diff options
Diffstat (limited to 'src/userspace/mlibc/string/memcpy.c')
-rw-r--r-- | src/userspace/mlibc/string/memcpy.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/userspace/mlibc/string/memcpy.c b/src/userspace/mlibc/string/memcpy.c index e4e9c76..eec798b 100644 --- a/src/userspace/mlibc/string/memcpy.c +++ b/src/userspace/mlibc/string/memcpy.c @@ -2,8 +2,9 @@ void *memcpy(void *dest, const void *src, size_t count) { - const char *sp = (const char *) src; - char *dp = (char *) dest; - for (; count != 0; count--) *dp++ = *sp++; - return dest; + const char *sp = (const char *)src; + char *dp = (char *)dest; + for (; count != 0; count--) + *dp++ = *sp++; + return dest; }
\ No newline at end of file |