forked from len0rd/rockbox
cast explicitly to unsigned int (fix yellow on cygwin)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21974 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3bc86fd5c1
commit
4755798f37
1 changed files with 2 additions and 1 deletions
|
|
@ -161,7 +161,8 @@ int main(int argc, char *argv[])
|
|||
/* TODO: Verify it's a LDR instruction */
|
||||
origoffset = (ldr&0xfff) + 8;
|
||||
|
||||
printf("original firmware entry point: 0x%08x\n",get_uint32le(image + origoffset));
|
||||
printf("original firmware entry point: 0x%08x\n",
|
||||
(unsigned int) get_uint32le(image + origoffset));
|
||||
printf("New entry point: 0x%08x\n",0x20000000 + inlength + 8);
|
||||
|
||||
/* Save the original firmware entry point at the start of the bootloader image */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue