Fix %lu for size_t in fish_tests.cpp

This commit is contained in:
Konrad Borowski 2013-11-25 16:15:36 +01:00
parent 3eac5f9ab7
commit 312977d5a6

View file

@ -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