diff options
author | Anatol Belski <ab@php.net> | 2017-07-28 13:14:15 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2017-07-28 14:59:31 +0200 |
commit | 44bbae99f8cf582e58f927dd2d8e724a874f9919 (patch) | |
tree | a9faefc9361a13a0f3e2ebe36cc496f4d865db91 /main | |
parent | f4a1d9c8211fa7878af14d0bd94b2deaab19ae21 (diff) | |
download | php-git-44bbae99f8cf582e58f927dd2d8e724a874f9919.tar.gz |
remove cast
Diffstat (limited to 'main')
-rw-r--r-- | main/fastcgi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/fastcgi.c b/main/fastcgi.c index 1e8a8064d7..41770ed2db 100644 --- a/main/fastcgi.c +++ b/main/fastcgi.c @@ -739,9 +739,9 @@ int fcgi_listen(const char *path, int backlog) return listen_socket; #else - int path_len = strlen(path); + size_t path_len = strlen(path); - if (path_len >= (int)sizeof(sa.sa_unix.sun_path)) { + if (path_len >= sizeof(sa.sa_unix.sun_path)) { fcgi_log(FCGI_ERROR, "Listening socket's path name is too long.\n"); return -1; } |