This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
APItest.xs: Fix compile warning: format ‘%d’ expects argument of type ‘int’, but...
authorPali <pali@cpan.org>
Tue, 10 Dec 2019 14:26:19 +0000 (15:26 +0100)
committerKarl Williamson <khw@cpan.org>
Tue, 10 Dec 2019 19:25:40 +0000 (12:25 -0700)
commitb56ecb40da955d5b514fc0814ec7e10b07b140fa
treecb1f22efff545072164427791058079bf1a23d9b
parent0671d8bf874037a126270ae21f4fa5839c7e391c
APItest.xs: Fix compile warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘line_t {aka long unsigned int}’

Use "%u" format modifier instead of "%d" as line_t is unsigned. Type line_t
is of U32 type and therefore casting it to unsigned int is safe on most
platforms.
ext/XS-APItest/APItest.xs