Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
bugfix for bfpow
Browse files Browse the repository at this point in the history
  • Loading branch information
kspalaiologos authored Aug 5, 2020
1 parent 76f72d1 commit f274676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bfvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ int main(void) {
"}\n"
#endif
"type bfpow(type x, type y) {\n"
"type i = 0, s = x; for(; i < y; y++) s *= x; return s;\n"
"type i = 1, s = x; for(; i < y; y++) s *= x; return s;\n"
"}\n"
"int main(void) {\n"
#ifndef FREESTANDING
Expand Down

0 comments on commit f274676

Please sign in to comment.