Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix sprintfdirectives, which returns an int
  • Loading branch information
FROGGS committed Aug 25, 2013
1 parent 3c2b6e3 commit b563f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HLL/sprintf.nqp
Expand Up @@ -360,7 +360,7 @@ my module sprintf {
class Directives {
method TOP($/) {
my $count := 0;
$count := $count + $_.ast for $<statement>;
$count := nqp::add_i($count, $_.ast) for $<statement>;
make $count
}

Expand Down

0 comments on commit b563f22

Please sign in to comment.