]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/TcgSmm/TcgSmm.c
Change related:
[mirror_edk2.git] / SecurityPkg / Tcg / TcgSmm / TcgSmm.c
index 9116944081656eacc04f62a32190f948f1c71b64..ab2df664d771a90bdcb0de10e569f69623c185ea 100644 (file)
@@ -374,7 +374,7 @@ PublishAcpiTable (
   ASSERT_EFI_ERROR (Status);\r
 \r
   ASSERT (Table->OemTableId == SIGNATURE_64 ('T', 'c', 'g', 'T', 'a', 'b', 'l', 'e'));\r
-  mTcgNvs = AssignOpRegion (Table, SIGNATURE_32 ('T', 'N', 'V', 'S'), sizeof (TCG_NVS));\r
+  mTcgNvs = AssignOpRegion (Table, SIGNATURE_32 ('T', 'N', 'V', 'S'), (UINT16) sizeof (TCG_NVS));\r
   ASSERT (mTcgNvs != NULL);\r
 \r
   //\r