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
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ int main(int argc, char *argv[])
|
|||
bufferFile(&myfile, 0);
|
||||
char chksum = getCheckSum(myfile.file_data, myfile.file_size);
|
||||
printf("Checksum for File: %X.\n", chksum);
|
||||
return;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (argc != 6) {
|
||||
|
|
Loading…
Reference in a new issue