diff options
author | Valentin Bartenev <vbart@nginx.com> | 2017-06-21 22:45:20 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2017-06-21 22:45:20 +0300 |
commit | 9593ce769ac85c75d67c9bd4730f6ce95cab6502 (patch) | |
tree | e79f95721992e41984ef48ad88551f8c500fe2ad /src/nxt_runtime.c | |
parent | 58e24662daf9670aa906b71719a071ef9d960f5e (diff) | |
download | unit-9593ce769ac85c75d67c9bd4730f6ce95cab6502.tar.gz unit-9593ce769ac85c75d67c9bd4730f6ce95cab6502.tar.bz2 |
Removed surplus type casting from nxt_memcmp() calls.
Diffstat (limited to 'src/nxt_runtime.c')
-rw-r--r-- | src/nxt_runtime.c | 2 |
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); } |