Can you try this instead: if (eol && (size_t)((ptrdiff_t)eol + 1 - (ptrdiff_t)readptr) <= maxlen - 1) { justread = eol + 1 - readptr;
It's looking really ugly - maybe there is a better way? --Wez. On 09/23/02, "Sebastian Bergmann" <[EMAIL PROTECTED]> wrote: > It compiles again, but: > > c:\home\php\php4\main\streams.c(517): warning C4018: > '<=': Conflict between signed and unsigned -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php