| 1 |
Description: Fix compiler warnings about implicit integer conversion |
| 2 |
Author: Zixing Liu <[email protected]> |
| 3 |
Last-Update: 2025-01-23 |
| 4 |
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=158613 |
| 5 |
Bug: https://rt.cpan.org/Ticket/Display.html?id=158613 |
| 6 |
|
| 7 |
--- a/src/keyword.c |
| 8 |
+++ b/src/keyword.c |
| 9 |
@@ -1009,7 +1009,7 @@ |
| 10 |
continue; |
| 11 |
|
| 12 |
if(PL_parser->in_my && !(reg->hooks->flags & XPK_FLAG_PERMIT_LEXICAL)) |
| 13 |
- croak("'my %.*s' is not permitted as a lexical keyword", kwlen, kw); |
| 14 |
+ croak("'my %.*s' is not permitted as a lexical keyword", (int)kwlen, kw); |
| 15 |
|
| 16 |
if(reg->hooks->check) |
| 17 |
(*reg->hooks->check)(aTHX_ reg->hookdata); |