diff options
author | Reeze Xia <reeze@php.net> | 2015-05-27 10:45:19 +0800 |
---|---|---|
committer | Reeze Xia <reeze@php.net> | 2015-05-27 10:45:19 +0800 |
commit | f68dc94aa727085040650b4c9354672f2f62ee6a (patch) | |
tree | d3bed2860391c5ed24718a0825133ad982fa8560 /sapi/phpdbg/phpdbg_io.c | |
parent | b73f87b1e49a383cce40e5fe295300c89128dbe2 (diff) | |
download | php-git-f68dc94aa727085040650b4c9354672f2f62ee6a.tar.gz |
Remove useless cast
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); } |