X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Nt32Pkg%2FMiscSubClassPlatformDxe%2FMiscSystemSlotDesignationFunction.c;fp=Nt32Pkg%2FMiscSubClassPlatformDxe%2FMiscSystemSlotDesignationFunction.c;h=55dce0a79166c56622be31630143f88fe67909db;hp=525459dad9aaf97bbc34c5c5968cc951c319a080;hb=5b368e7d6c8b0424b69d327bb2ae2153426737aa;hpb=3432b0cf1129c93689c015726b4e708f50c9d4fa diff --git a/Nt32Pkg/MiscSubClassPlatformDxe/MiscSystemSlotDesignationFunction.c b/Nt32Pkg/MiscSubClassPlatformDxe/MiscSystemSlotDesignationFunction.c index 525459dad9..55dce0a791 100644 --- a/Nt32Pkg/MiscSubClassPlatformDxe/MiscSystemSlotDesignationFunction.c +++ b/Nt32Pkg/MiscSubClassPlatformDxe/MiscSystemSlotDesignationFunction.c @@ -70,10 +70,10 @@ MISC_SMBIOS_TABLE_FUNCTION(MiscSystemSlotDesignation) SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE9); SmbiosRecord->Hdr.Handle = 0; SmbiosRecord->SlotDesignation = 1; - SmbiosRecord->SlotType = ForType9InputData->SlotType; - SmbiosRecord->SlotDataBusWidth = ForType9InputData->SlotDataBusWidth; - SmbiosRecord->CurrentUsage = ForType9InputData->SlotUsage; - SmbiosRecord->SlotLength = ForType9InputData->SlotLength; + SmbiosRecord->SlotType = (UINT8)ForType9InputData->SlotType; + SmbiosRecord->SlotDataBusWidth = (UINT8)ForType9InputData->SlotDataBusWidth; + SmbiosRecord->CurrentUsage = (UINT8)ForType9InputData->SlotUsage; + SmbiosRecord->SlotLength = (UINT8)ForType9InputData->SlotLength; SmbiosRecord->SlotID = ForType9InputData->SlotId; //