mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
Fix %lu for size_t in fish_tests.cpp
This commit is contained in:
parent
3eac5f9ab7
commit
312977d5a6
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,7 @@ static void test_fork(void)
|
|||
size_t i, max = 100;
|
||||
for (i=0; i < 100; i++)
|
||||
{
|
||||
printf("%lu / %lu\n", i+1, max);
|
||||
printf("%lu / %lu\n", (unsigned long)(i+1), (unsigned long) max);
|
||||
/* Do something horrible to try to trigger an error */
|
||||
#define THREAD_COUNT 8
|
||||
#define FORK_COUNT 10
|
||||
|
|
Loading…
Reference in a new issue