diff --git a/tools/qfcc/source/qfcc.c b/tools/qfcc/source/qfcc.c index a6665a45e..6c1ff13f1 100644 --- a/tools/qfcc/source/qfcc.c +++ b/tools/qfcc/source/qfcc.c @@ -1095,9 +1095,9 @@ preprocess_file (const char *filename) perror ("wait"); exit (1); } - fprintf (stderr, "%s: The wrong child (%d) died. Don't ask me, I don't know either.\n", + fprintf (stderr, "%s: The wrong child (%ld) died. Don't ask me, I don't know either.\n", this_program, - rc); + (long) rc); exit (1); } if (WIFEXITED (status)) {