mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
firmware-utils/mksercommfw: fix build with clang/macOS
fixes error: non-void function 'main' should return a value Fixes: FS#1770 Signed-off-by: Ryan Mounce <ryan@mounce.com.au>
This commit is contained in:
parent
437e35f8a3
commit
9c6c7d11c7
@ -135,7 +135,7 @@ int main(int argc, char *argv[])
|
|||||||
bufferFile(&myfile, 0);
|
bufferFile(&myfile, 0);
|
||||||
char chksum = getCheckSum(myfile.file_data, myfile.file_size);
|
char chksum = getCheckSum(myfile.file_data, myfile.file_size);
|
||||||
printf("Checksum for File: %X.\n", chksum);
|
printf("Checksum for File: %X.\n", chksum);
|
||||||
return;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (argc != 6) {
|
if (argc != 6) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user