summaryrefslogtreecommitdiff
path: root/lib/libc/src/string/strncmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/src/string/strncmp.c')
-rw-r--r--lib/libc/src/string/strncmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/src/string/strncmp.c b/lib/libc/src/string/strncmp.c
index 47d562a..7f4df75 100644
--- a/lib/libc/src/string/strncmp.c
+++ b/lib/libc/src/string/strncmp.c
@@ -32,8 +32,8 @@
int
strncmp(const char *s1, const char *s2, size_t n)
{
- char *p1 = (char*)s1;
- char *p2 = (char*)s2;
+ char *p1 = (char *)s1;
+ char *p2 = (char *)s2;
for (size_t i = 0; i < n; i++) {
if (!*p1 && !*p2)