]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/Tpm2CommandLib/Tpm2Session.c
Use better coding style.
[mirror_edk2.git] / SecurityPkg / Library / Tpm2CommandLib / Tpm2Session.c
index 2cbc6272d06254485fd75167d669f7cb9ee3511f..f03b6689ac02454e09e170469a8b376805b806a1 100644 (file)
@@ -99,7 +99,7 @@ Tpm2StartAuthSession (
   Buffer += Salt->size;\r
 \r
   *(TPM_SE *)Buffer = SessionType;\r
-  Buffer += sizeof(UINT8);\r
+  Buffer++;\r
 \r
   WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (Symmetric->algorithm));\r
   Buffer += sizeof(UINT16);\r