Hi, Olivier

A little curious why you don't meet same issue with SmmCoreUpdateProfile() 
caller in Pool.c and Page.c of PiSmmCore.

They use 0 as a passed-in parameter and have no such force type cast as well. 
(Pool.c of PiSmmCore line 319 and Pag.c of PiSmmCore line 347)

Thanks
Feng

From: Olivier Martin [mailto:[email protected]]
Sent: Thursday, December 11, 2014 19:16
To: Tian, Feng
Cc: [email protected]
Subject: [PATCH] MdeModulePkg/DxeCore: Fixed compiler error 'enumerated type 
mixed with another type'

Dear MdeMdoulePkg maintainer,

Please find the attached patch that fix a ARM Toolchain warning/error.
ARM Toolchain raises a warning/error when an integer is used instead of a enum 
value.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin 
<[email protected]<mailto:[email protected]>>

Regards,
Olivier
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to