This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
IO.xs: fix compiler warning
authorDavid Mitchell <davem@iabyn.com>
Wed, 13 Nov 2013 16:48:11 +0000 (16:48 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 13 Nov 2013 17:38:43 +0000 (17:38 +0000)
commit13142853235f9d75c2f0986e90edc8f913526b00
tree8cc888ffa1e6b1dd4cff13d550175bb2134fc6e9
parent03e4b83dd4717161d2b8ca65f1f26bc6336676c1
IO.xs: fix compiler warning

PerlIO_unread() returns SSize_t, although from its sparse documentation
it doesn't seem that it would ever return a negative value. So cast away
the 'comparison between signed and unsigned integer' warning.
dist/IO/IO.pm
dist/IO/IO.xs