diff options
author | Will Robertson <aliask@rockbox.org> | 2008-04-16 08:30:30 +0000 |
---|---|---|
committer | Will Robertson <aliask@rockbox.org> | 2008-04-16 08:30:30 +0000 |
commit | 735790fde00c2cb47f060982b649c0a395c10fd9 (patch) | |
tree | 321575a624b8954cf9a04ad635d8db0762a7f7ff /tools/mknkboot.c | |
parent | fa98e290b2b58482d96fedc71a1babd5b5fda1ca (diff) |
Some general housekeeping. Fixed a few yellows, made the volume buttons work in lists. ROLO now works also thanks to rob's work on the D2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17139 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/mknkboot.c')
-rw-r--r-- | tools/mknkboot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mknkboot.c b/tools/mknkboot.c index dfb3c99767..600f1adb1a 100644 --- a/tools/mknkboot.c +++ b/tools/mknkboot.c @@ -219,13 +219,13 @@ int main(int argc, char *argv[]) boot2 = boot + bootlength + 12; /* Copy dual-boot code in an endian-safe way */ - for (i = 0; i < sizeof(dualboot) / 4; i++) { + for (i = 0; i < (signed int)sizeof(dualboot) / 4; i++) { put_uint32le(dualboot[i], boot2 + 12 + i*4); } /* Calculate checksum */ sum = 0; - for (i = 0; i < sizeof(dualboot); i++) { + for (i = 0; i < (signed int)sizeof(dualboot); i++) { sum += boot2[i+12]; } |