From e883479f35644d17db7efed710657c8543cfcb68 Mon Sep 17 00:00:00 2001 From: Gary Lin Date: Fri, 7 Apr 2017 12:32:24 +0800 Subject: Cryptlib: amend the headers and fix signness - Declare some functions in the proper headers + We missed them for a long time... - Cast offsetof to UINTN + The original casting triggers the gcc warning since int can not present the offset for the 64bit machines. - Cast the "char" array to "CHAR8 *" to avoid the gcc warnings - Implement atoi correctly Signed-off-by: Gary Lin --- Cryptlib/Library/BaseMemoryLib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Cryptlib/Library/BaseMemoryLib.h') diff --git a/Cryptlib/Library/BaseMemoryLib.h b/Cryptlib/Library/BaseMemoryLib.h index e69de29b..cc118e36 100644 --- a/Cryptlib/Library/BaseMemoryLib.h +++ b/Cryptlib/Library/BaseMemoryLib.h @@ -0,0 +1 @@ +CHAR8 *ScanMem8(CHAR8 *str, UINTN count, CHAR8 ch); -- cgit v1.2.3