Skip to content

Commit

Permalink
Merge pull request #51 from jphickey/fix-50-add-printf-cast
Browse files Browse the repository at this point in the history
Fix #50, add printf conversion casts
  • Loading branch information
astrogeco committed Jun 15, 2021
2 parents f5225b1 + e0c08c4 commit d8b6ffc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cfe_ts_crc.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ int main(int argc, char **argv)

/* print the size/CRC results */
printf("\nTable File Name: %s\nTable Size: %ld Bytes\nExpected TS Validation CRC: "
"0x%08X\n\n",
argv[1], fileSize, fileCRC);
"0x%08lX\n\n",
argv[1], (long)fileSize, (unsigned long)fileCRC);

/* Close file and check*/
if (close(fd) != 0)
Expand Down

0 comments on commit d8b6ffc

Please sign in to comment.