efi-boot-shim/Cryptlib/Library/BaseMemoryLib.h
Gary Lin 80a5aa9d1b 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 <glin@suse.com>
2017-09-08 14:47:09 -04:00

2 lines
52 B
C

CHAR8 *ScanMem8(CHAR8 *str, UINTN count, CHAR8 ch);