diff options
Diffstat (limited to 'sapi/phpdbg/phpdbg_io.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_io.c b/sapi/phpdbg/phpdbg_io.c index 58ea06e299..47899abf66 100644 --- a/sapi/phpdbg/phpdbg_io.c +++ b/sapi/phpdbg/phpdbg_io.c @@ -185,7 +185,7 @@ PHPDBG_API int phpdbg_mixed_read(int sock, char *ptr, int len, int tmo) { } ret = read(sock, ptr, len); - if (ret == (size_t)-1 && errno == EINTR) { + if (ret == -1 && errno == EINTR) { /* Read was interrupted, retry once */ ret = read(sock, ptr, len); } |