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>
master
Ryan Mounce 6 years ago committed by Mathias Kresin
parent 437e35f8a3
commit 9c6c7d11c7
  1. 2
      tools/firmware-utils/src/mksercommfw.c

@ -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…
Cancel
Save