diff options
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/AMS/hacking/mkamsboot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/AMS/hacking/mkamsboot.c b/utils/AMS/hacking/mkamsboot.c index 0aad8e8..47738eb 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; } |