X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FScripts%2FBinToPcd.py;h=25b74f60049335d57f0878ed69e40fe0c6f0c5d9;hp=c42e37bd119b5881018b9e2230a8df29b803de16;hb=76c09700edc67686b29662e81a3ca7d947594ce5;hpb=ccaa7754a29728df0a7485932aab4909f6be116a;ds=sidebyside diff --git a/BaseTools/Scripts/BinToPcd.py b/BaseTools/Scripts/BinToPcd.py index c42e37bd11..25b74f6004 100644 --- a/BaseTools/Scripts/BinToPcd.py +++ b/BaseTools/Scripts/BinToPcd.py @@ -66,7 +66,7 @@ if __name__ == '__main__': # # If Xdr flag is not set, then concatenate all the data # - Buffer = b''.join (Buffer) + Buffer = bytearray (b''.join (Buffer)) # # Return a PCD value of the form '{0x01, 0x02, ...}' along with the PCD length in bytes #