remove cast

This commit is contained in:
Anatol Belski 2017-07-28 13:14:15 +02:00
parent f4a1d9c821
commit 44bbae99f8

View File

@ -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;
}