Lee, Please review the attached patch. It is blocking building with GCC for IA32 target architectures.
StdLib/BsdSocketLib: Correct format arguments and types to have a consistent size on all architectures and platforms. The capital 'L' size specifier may not be used for integer types; it denotes long double type. The print argument "t" has type u_long which resolves to UINTN. Since the size of UINTN changes between compilers and CPU architectures, specify a format size of "ll" and cast the argument to (unsigned long long). This will ensure that the argument size remains the same. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Daryl McDaniel <daryl.mcdan...@intel.com<mailto:daryl.mcdan...@intel.com>> Reviewed-by: Thank you, Daryl McDaniel SSG/STO/PSI (Platform Software Infrastructure) Hillsboro, OR (503) 712-4670 "Patriotism is supporting your country all the time, and your government when it deserves it." -- Mark Twain
BsdSocketLib.patch
Description: BsdSocketLib.patch
------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/
_______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel