Branch: Tag:

2014-09-15

2014-09-15 16:30:36 by Per Hedbor <ph@opera.com>

Fixed signed/unsigned warning

1870:    struct pike_string *s;    Pike_sp--;    /* Hm. signed/unsigned comparisons abound. */ -  if( bytes > 0 && bytes > io_len(this) ) +  if( bytes > 0 && (size_t)bytes > io_len(this) )    bytes = io_len(this);    push_string( io_read_string(this, bytes ) );    }