mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
This commit is contained in:
parent
fc7221649d
commit
caeaf76930
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue