mirror of https://github.com/acidanthera/audk.git
CHAR8 is defined as "1-byte Character" in UEFI spec, but not "unsigned Character". Most compiler treats "char" as signed unless overide by compiler options. Most compiler generate warnings for statement like "CHAR8 *S = "Hello"". In addition, we have defined CHAR8 as char for processor arch such as IA32, X64 and IPF in EDK II.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5329 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
fd6e8b4b82
commit
7d0db9ceb5
|
@ -29,7 +29,7 @@
|
||||||
typedef char INT8;
|
typedef char INT8;
|
||||||
typedef unsigned char BOOLEAN;
|
typedef unsigned char BOOLEAN;
|
||||||
typedef unsigned char UINT8;
|
typedef unsigned char UINT8;
|
||||||
typedef unsigned char CHAR8;
|
typedef char CHAR8;
|
||||||
|
|
||||||
typedef short INT16;
|
typedef short INT16;
|
||||||
typedef unsigned short UINT16;
|
typedef unsigned short UINT16;
|
||||||
|
|
Loading…
Reference in New Issue