aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/mlibc/string/memset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace/mlibc/string/memset.c')
-rw-r--r--src/userspace/mlibc/string/memset.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/userspace/mlibc/string/memset.c b/src/userspace/mlibc/string/memset.c
index fb5ab80..1d9bec1 100644
--- a/src/userspace/mlibc/string/memset.c
+++ b/src/userspace/mlibc/string/memset.c
@@ -2,7 +2,8 @@
void *memset(void *dest, char val, size_t count)
{
- char *temp = (char *) dest;
- for (; count != 0; count--) *temp++ = val;
- return dest;
+ char *temp = (char *)dest;
+ for (; count != 0; count--)
+ *temp++ = val;
+ return dest;
} \ No newline at end of file