com php-src: Remove useless cast: sapi/phpdbg/phpdbg_io.c

From: Date: Wed, 27 May 2015 02:45:19 +0000
Subject: com php-src: Remove useless cast: sapi/phpdbg/phpdbg_io.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-86942@lists.php.net to get a copy of this message
Commit: f68dc94aa727085040650b4c9354672f2f62ee6a Author: Reeze Xia <reeze@php.net> Wed, 27 May 2015 10:45:19 +0800 Parents: b73f87b1e49a383cce40e5fe295300c89128dbe2 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f68dc94aa727085040650b4c9354672f2f62ee6a Log: Remove useless cast Changed paths: M sapi/phpdbg/phpdbg_io.c Diff: diff --git a/sapi/phpdbg/phpdbg_io.c b/sapi/phpdbg/phpdbg_io.c index 58ea06e..47899ab 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); }

« previous php.cvs (#86942) next »