mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-10-29 14:57:04 +00:00
- 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>
2 lines
52 B
C
2 lines
52 B
C
CHAR8 *ScanMem8(CHAR8 *str, UINTN count, CHAR8 ch);
|