diff options
author | Robert Kukla <roolku@rockbox.org> | 2009-07-19 22:42:11 +0000 |
---|---|---|
committer | Robert Kukla <roolku@rockbox.org> | 2009-07-19 22:42:11 +0000 |
commit | 4755798f374f1f7204b8d666ca7e85886e594562 (patch) | |
tree | 6ad84f191f967f0194eb670af8e708334464dde1 | |
parent | 3bc86fd5c145527da2e1ab30d4616b19869ad20d (diff) | |
download | rockbox-4755798f374f1f7204b8d666ca7e85886e594562.tar.gz rockbox-4755798f374f1f7204b8d666ca7e85886e594562.zip |
cast explicitly to unsigned int (fix yellow on cygwin)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21974 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | tools/mktccboot.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/mktccboot.c b/tools/mktccboot.c index 8c2e73d5f2..e135b7e506 100644 --- a/tools/mktccboot.c +++ b/tools/mktccboot.c | |||
@@ -161,7 +161,8 @@ int main(int argc, char *argv[]) | |||
161 | /* TODO: Verify it's a LDR instruction */ | 161 | /* TODO: Verify it's a LDR instruction */ |
162 | origoffset = (ldr&0xfff) + 8; | 162 | origoffset = (ldr&0xfff) + 8; |
163 | 163 | ||
164 | printf("original firmware entry point: 0x%08x\n",get_uint32le(image + origoffset)); | 164 | printf("original firmware entry point: 0x%08x\n", |
165 | (unsigned int) get_uint32le(image + origoffset)); | ||
165 | printf("New entry point: 0x%08x\n",0x20000000 + inlength + 8); | 166 | printf("New entry point: 0x%08x\n",0x20000000 + inlength + 8); |
166 | 167 | ||
167 | /* Save the original firmware entry point at the start of the bootloader image */ | 168 | /* Save the original firmware entry point at the start of the bootloader image */ |