Skip to content

Commit

Permalink
Fixed off by one error in array size generated by bitcode2cpp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jduprat committed Jan 10, 2012
1 parent a8db866 commit 63d3d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitcode2cpp.py
Expand Up @@ -40,7 +40,7 @@
sys.stdout.write("\n")

sys.stdout.write("0x00 };\n\n")
sys.stdout.write("int builtins_bitcode_" + target + "_length = " + str(i) + ";\n")
sys.stdout.write("int builtins_bitcode_" + target + "_length = " + str(i+1) + ";\n")

as_out.wait()

Expand Down

0 comments on commit 63d3d25

Please sign in to comment.