summaryrefslogtreecommitdiff
path: root/src/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.c')
-rw-r--r--src/lib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib.c b/src/lib.c
index d2708c8..bd8e335 100644
--- a/src/lib.c
+++ b/src/lib.c
@@ -32,7 +32,9 @@ void *memmove(void *dest, const void *src, unsigned long n) {
void *memset(void *restrict dest, int c, unsigned long n) {
unsigned char *d = dest;
- for (; n; n--) *d++ = c;
+ for (; n; n--) {
+ *d++ = c;
+ };
return dest;
}