diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/genxml/gen_zipped_file.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/genxml/gen_zipped_file.py b/src/intel/genxml/gen_zipped_file.py index af2008bea03..1d6bd568246 100644 --- a/src/intel/genxml/gen_zipped_file.py +++ b/src/intel/genxml/gen_zipped_file.py @@ -62,8 +62,8 @@ def main(): print("") print("static const uint8_t compress_genxmls[] = {") print(" ", end='') - for i, c in enumerate(compressed_data, start=1): - print("0x%.2x, " % ord(c), end='\n ' if not i % 12 else '') + for i, c in enumerate(bytearray(compressed_data), start=1): + print("0x%.2x, " % c, end='\n ' if not i % 12 else '') print('\n};') |