Branch: Tag:

2018-05-19

2018-05-19 18:57:33 by Arne Goedeke <el@laramies.com>

Stdio.Buffer: fixed some compile warnings

234:    * as much.    *    */ -  if( UNLIKELY(force && io->offset -  || io_len(io) && io->offset > io->allocated / 2) ) +  if( UNLIKELY((force && io->offset) +  || (io_len(io) && io->offset > io->allocated / 2)) )    {    /* more than 50% of the buffer is available before the read pointer,    * and we can discard that data. Move the data to the beginning, making
1838:    do    if ( LIKELY(io_len(THIS)) )    { -  const char * start = io_read_pointer(io); +  const char * start = (char*)io_read_pointer(io);    const char * end = memchr(start, csentinel, io_len(io));    if ( LIKELY(end) )    {