summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Ebc
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-06-05 01:57:08 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-06-05 01:57:08 +0000
commit7d0db9ceb5971772bb1e7501412ca4714a3bbd6d (patch)
tree386164fd2465ae49196ee447d7dbb2a51cd7e9ad /MdePkg/Include/Ebc
parentfd6e8b4b82b55f2c365e0642a7c15a75b822418d (diff)
downloadedk2-platforms-7d0db9ceb5971772bb1e7501412ca4714a3bbd6d.tar.xz
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
Diffstat (limited to 'MdePkg/Include/Ebc')
-rw-r--r--MdePkg/Include/Ebc/ProcessorBind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/Ebc/ProcessorBind.h b/MdePkg/Include/Ebc/ProcessorBind.h
index a550f42bd3..ed1ff07e52 100644
--- a/MdePkg/Include/Ebc/ProcessorBind.h
+++ b/MdePkg/Include/Ebc/ProcessorBind.h
@@ -29,7 +29,7 @@
typedef char INT8;
typedef unsigned char BOOLEAN;
typedef unsigned char UINT8;
-typedef unsigned char CHAR8;
+typedef char CHAR8;
typedef short INT16;
typedef unsigned short UINT16;