Skip to content

Commit c008c61

Browse files
authored
Merge pull request #233 from neheb/patch-1
check_check_master: Fix printf format
2 parents c5d9592 + 69056b0 commit c008c61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/check_check_master.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ void record_failure_line_num(int linenum)
970970
written = fwrite(string, 1, to_write, line_num_failures);
971971
if(written != to_write)
972972
{
973-
fprintf(stderr, "%s:%d: Error in call to fwrite, wrote %ld instead of %d:", __FILE__, __LINE__, written, to_write);
973+
fprintf(stderr, "%s:%d: Error in call to fwrite, wrote %zd instead of %d:", __FILE__, __LINE__, written, to_write);
974974
exit(1);
975975
}
976976

0 commit comments

Comments
 (0)