mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Remove useless cast
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user