summaryrefslogtreecommitdiffstats
path: root/utils/AMS
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-10-01 19:54:12 +0000
committerDave Chapman <dave@dchapman.com>2008-10-01 19:54:12 +0000
commitcaeaf7693076a404e6f7f68ea13eb63ef58e8b37 (patch)
tree03744ff0393ad52e7d8436c196f9018f960a21af /utils/AMS
parentfc7221649da67f3e5a49f56916fdbf64455d9f99 (diff)
downloadrockbox-caeaf7693076a404e6f7f68ea13eb63ef58e8b37.tar.gz
rockbox-caeaf7693076a404e6f7f68ea13eb63ef58e8b37.tar.bz2
rockbox-caeaf7693076a404e6f7f68ea13eb63ef58e8b37.zip
Correct the content of an error message (thanks to Jens for spotting) and fix a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18678 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/AMS')
-rw-r--r--utils/AMS/hacking/mkamsboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/AMS/hacking/mkamsboot.c b/utils/AMS/hacking/mkamsboot.c
index 0aad8e8e35..47738ebdde 100644
--- a/utils/AMS/hacking/mkamsboot.c
+++ b/utils/AMS/hacking/mkamsboot.c
@@ -200,12 +200,12 @@ int main(int argc, char* argv[])
}
if (uclheader[12] != 0x2e) {
- fprintf(stderr,"[ERR] Unsupported UCL encryption format (0x%02x) - only 0x2e supported.\n",uclheader[12]);
+ fprintf(stderr,"[ERR] Unsupported UCL compression format (0x%02x) - only 0x2e supported.\n",uclheader[12]);
return 1;
}
ucl_size = get_uint32be(&uclheader[22]) + 8;
- if (ucl_size + 26 > filesize(fducl)) {
+ if (ucl_size + 26 > (unsigned)filesize(fducl)) {
fprintf(stderr, "[ERR] Size mismatch in UCL file\n");
return 1;
}