Re: cvs: php4 /main streams.c
| From: | Wez Furlong | Date: | Sat, 19 Oct 2002 11:13:47 +0000 |
| Subject: | Re: cvs: php4 /main streams.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-15049@lists.php.net to get a copy of this message | ||
Nope. The problem was that size_t is unsigned, but -1 is signed.
--Wez.
On 10/19/02, "Sander Roobol" <sander@php.net> wrote:
> On Sat, Oct 19, 2002 at 10:34:10AM -0000, Wez Furlong wrote:
> > - if (justread > 0) {
> > + if (justread != (size_t)-1) {
>
> Shouldn't that be someting like this?
> >>> if (justread != sizeof(size_t)-1) {
>
> Sander
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php