Fixed off by one error in array size generated by bitcode2cpp.py
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user