summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_runtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_runtime.c')
-rw-r--r--src/nxt_runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_runtime.c b/src/nxt_runtime.c
index 4b823ad2..5ea73a16 100644
--- a/src/nxt_runtime.c
+++ b/src/nxt_runtime.c
@@ -913,7 +913,7 @@ nxt_runtime_sockaddr_parse(nxt_task_t *task, nxt_mp_t *mp, nxt_str_t *addr)
length = addr->length;
p = addr->start;
- if (length >= 5 && nxt_memcmp(p, (u_char *) "unix:", 5) == 0) {
+ if (length >= 5 && nxt_memcmp(p, "unix:", 5) == 0) {
return nxt_runtime_sockaddr_unix_parse(task, mp, addr);
}