mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
remove cast
This commit is contained in:
parent
f4a1d9c821
commit
44bbae99f8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user