Permalink
Browse files

Fixed off by one error in array size generated by bitcode2cpp.py

  • Loading branch information...
1 parent a8db866 commit 63d3d2503041da0be5bc166a440ba264e24d2b4c @jduprat jduprat committed Jan 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bitcode2cpp.py
View
@@ -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()

0 comments on commit 63d3d25

Please sign in to comment.