]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/MiscSubClassPlatformDxe/MiscSystemSlotDesignationFunction.c
Fix ICC build failures
[mirror_edk2.git] / Nt32Pkg / MiscSubClassPlatformDxe / MiscSystemSlotDesignationFunction.c
index 525459dad9aaf97bbc34c5c5968cc951c319a080..55dce0a79166c56622be31630143f88fe67909db 100644 (file)
@@ -70,10 +70,10 @@ MISC_SMBIOS_TABLE_FUNCTION(MiscSystemSlotDesignation)
   SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE9);\r
   SmbiosRecord->Hdr.Handle = 0; \r
   SmbiosRecord->SlotDesignation = 1;\r
-  SmbiosRecord->SlotType = ForType9InputData->SlotType;\r
-  SmbiosRecord->SlotDataBusWidth = ForType9InputData->SlotDataBusWidth;\r
-  SmbiosRecord->CurrentUsage = ForType9InputData->SlotUsage;\r
-  SmbiosRecord->SlotLength = ForType9InputData->SlotLength;\r
+  SmbiosRecord->SlotType = (UINT8)ForType9InputData->SlotType;\r
+  SmbiosRecord->SlotDataBusWidth = (UINT8)ForType9InputData->SlotDataBusWidth;\r
+  SmbiosRecord->CurrentUsage = (UINT8)ForType9InputData->SlotUsage;\r
+  SmbiosRecord->SlotLength = (UINT8)ForType9InputData->SlotLength;\r
   SmbiosRecord->SlotID = ForType9InputData->SlotId;\r
   \r
   //\r