Scrub BaseTools C Source to solve some gaps between EFI BaseTypes to POSIX types for printf() and other libc functions.
The following rules are applied:
INT8, INT16 => "%d" with no type cast required. e.g. printf ("%d", Int16Value);
UINT8, UINT16 => "%u","%x" or "%X" with no type cast required. e.g. printf ("%x", Uint16Value);
INT32 => "%d" with type-cast (int) e.g. printf ("%d", (int) Int32Value);
UINT32 => "%u","%x" or "%X" with type-cast (unsigned) e.g. printf ("%u", (unsigned) Uint32Value)
INT64 => "%lld" with type-cast (long long) e.g. printf ("%lld", (long long) Int64Value);
UINT64 => "%llu", "%llx" or "llX" with type-cast (unsigned long long) e.g. printf ("%llX", (unsigned long long) Uint64Value);
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1675
7335b38e-4728-0410-8992-
fb3ffe349368