Skip to content

Commit

Permalink
newSVbool(): Fix compiler warning
Browse files Browse the repository at this point in the history
The parameter was declared const in embed.fnc, but not in the function
prototype
  • Loading branch information
khwilliamson committed Nov 13, 2023
1 parent 7459370 commit 62af983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sv.c
Expand Up @@ -9961,7 +9961,7 @@ Creates a new SV boolean.
*/

SV *
Perl_newSVbool(pTHX_ bool bool_val)
Perl_newSVbool(pTHX_ const bool bool_val)
{
PERL_ARGS_ASSERT_NEWSVBOOL;
SV *sv = newSVsv(bool_val ? &PL_sv_yes : &PL_sv_no);
Expand Down

0 comments on commit 62af983

Please sign in to comment.