This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use SSize_t for read lock counter
authorKarl Williamson <khw@cpan.org>
Thu, 31 Dec 2020 16:08:21 +0000 (09:08 -0700)
committerKarl Williamson <khw@cpan.org>
Thu, 31 Dec 2020 16:12:53 +0000 (09:12 -0700)
commit41b10d901d383944620dc9fe58a82531022cc937
tree016285dac90dc2e99768631239507715330be014
parent07319fdbb283f93cb655c3106b5237cbc7272038
Use SSize_t for read lock counter

We have tests to make sure this doesn't go negative, but wrongly
declared the variable as unsigned.

Spotted by Craig Berry.
perl.h