summaryrefslogtreecommitdiff
path: root/Nt32Pkg/MiscSubClassPlatformDxe
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-31 19:20:14 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-31 19:20:14 +0000
commit5b368e7d6c8b0424b69d327bb2ae2153426737aa (patch)
treefdf224c11ba9ac843251933689d94554319fdc0d /Nt32Pkg/MiscSubClassPlatformDxe
parent3432b0cf1129c93689c015726b4e708f50c9d4fa (diff)
downloadedk2-platforms-5b368e7d6c8b0424b69d327bb2ae2153426737aa.tar.xz
Fix ICC build failures
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10324 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/MiscSubClassPlatformDxe')
-rw-r--r--Nt32Pkg/MiscSubClassPlatformDxe/MiscSystemSlotDesignationFunction.c8
1 files changed, 4 insertions, 4 deletions
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;
//