Silence format warning on printing time_t
This commit is contained in:
parent
b38320fd42
commit
ad895e382a
|
@ -125,7 +125,7 @@ static void test_psl(void)
|
|||
}
|
||||
}
|
||||
|
||||
printf("psl_builtin_file_time()=%ld\n", psl_builtin_file_time());
|
||||
printf("psl_builtin_file_time()=%ld\n", (long) psl_builtin_file_time());
|
||||
psl_builtin_file_time() == 0 ? failed++ : ok++;
|
||||
|
||||
printf("psl_builtin_sha1sum()=%s\n", psl_builtin_sha1sum());
|
||||
|
|
|
@ -290,7 +290,7 @@ int main(int argc, const char *const *argv)
|
|||
printf("builtin exceptions: %d\n", psl_suffix_exception_count(psl));
|
||||
printf("builtin wildcards: %d\n", psl_suffix_wildcard_count(psl));
|
||||
printf("builtin filename: %s\n", psl_builtin_filename());
|
||||
printf("builtin file time: %ld (%s)\n", psl_builtin_file_time(), time2str(psl_builtin_file_time()));
|
||||
printf("builtin file time: %ld (%s)\n", (long) psl_builtin_file_time(), time2str(psl_builtin_file_time()));
|
||||
printf("builtin SHA1 file hash: %s\n", psl_builtin_sha1sum());
|
||||
printf("builtin outdated: %d\n", psl_builtin_outdated());
|
||||
} else
|
||||
|
|
Loading…
Reference in New Issue