Branch: Tag:

2021-05-18

2021-05-18 08:59:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Fix warning about signed/unsigned comparison.

542:       static int io_avail( Buffer *io, ptrdiff_t len )    { -  if (UNLIKELY(len < 0 || len > io_len(io))) +  if (UNLIKELY((len < 0) || (((size_t)len) > io_len(io))))    {    if (UNLIKELY(len < 0))    io_range_error_throw( io, 0 );