mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
%d and pid_t don't mix on solaris, so use %ld and cast to long
This commit is contained in:
parent
9540e9af4a
commit
0f198f118e
1 changed files with 2 additions and 2 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue