aboutsummaryrefslogtreecommitdiffstats
path: root/memcmove.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--memcmove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memcmove.c b/memcmove.c
index ab9e6d9..11fa9c4 100644
--- a/memcmove.c
+++ b/memcmove.c
@@ -44,7 +44,7 @@ main(void)
assert(!strncmp(buf, "-----hello-", 11));
memset(buf, '-', sizeof(buf)), buf[sizeof(buf) - 1] = '\0';
- stpcpy(&buf[5], "hello")[0] = '-';;
+ stpcpy(&buf[5], "hello")[0] = '-';
assert(libsimple_memcmove(&buf[5], &buf[5], 'l', 5) == &buf[5 + 3]);
assert(!strncmp(buf, "-----hello-", 11));