Skip to content
Commit e89f5830 authored by Michael Kubacki's avatar Michael Kubacki Committed by Ray Ni
Browse files

IntelSiliconPkg: Cast UINT32 to UINT8 conversion in ReportCpuHobLib

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3404



Commit d3c10d32 introduced a build error in ReportCpuHobLib.c:

IntelSiliconPkg\Library\ReportCpuHobLib\ReportCpuHobLib.c(30):
  error C2220: warning treated as error - no 'object' file generated
IntelSiliconPkg\Library\ReportCpuHobLib\ReportCpuHobLib.c(30):
  warning C4244: '=': conversion from 'UINT32' to 'UINT8',
  possible loss of data

This commit explicitly cast the assignment to fix the build error.

Reviewed-by: default avatarRay Ni <ray.ni@intel.com>
Cc: Rangasai V Chaganty <rangasai.v.chaganty@intel.com>
Cc: SofiaX Chuang <sofiax.chuang@intel.com>
Signed-off-by: default avatarMichael Kubacki <michael.kubacki@microsoft.com>
parent 32183bda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment