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:
Ryan Mounce 2018-08-14 14:19:29 +09:30 committed by Mathias Kresin
parent 437e35f8a3
commit 9c6c7d11c7

View File

@ -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) {