diff --git a/bitcode2cpp.py b/bitcode2cpp.py index d99e81a9..aaeb1f29 100755 --- a/bitcode2cpp.py +++ b/bitcode2cpp.py @@ -40,7 +40,7 @@ for i in range(0, len(data), 1): 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()