mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
examples: make glue and demo code compatible with 64-bit
Commit f9886bc60f
("Added arm64 assembly for examples/api crt0")
added a 64-bit target for the examples but did not adjust the demo
code to be 64-bit compatible.
Change variable size for pointers.
Use %p to print pointers.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
2ed26ee374
commit
9e7d7f95ec
2 changed files with 6 additions and 7 deletions
|
@ -41,8 +41,8 @@ static int valid_sig(struct api_signature *sig)
|
|||
int api_search_sig(struct api_signature **sig)
|
||||
{
|
||||
unsigned char *sp;
|
||||
uint32_t search_start = 0;
|
||||
uint32_t search_end = 0;
|
||||
uintptr_t search_start = 0;
|
||||
uintptr_t search_end = 0;
|
||||
|
||||
if (sig == NULL)
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue