summaryrefslogtreecommitdiffstats
path: root/hw2/big_judge.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw2/big_judge.c')
-rw-r--r--hw2/big_judge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw2/big_judge.c b/hw2/big_judge.c
index c7103f0..92ca701 100644
--- a/hw2/big_judge.c
+++ b/hw2/big_judge.c
@@ -97,7 +97,7 @@ int main (int argc, char* argv[]) {
close (fdr[0]);
close (fdw[1]);
char* myjudge = xgetres ("judge");
- execl (myjudge, "judge", xsprintf ("%d", i + 1), NULL);
+ execl (myjudge, "judge", xsprintf ("%d", i + 1), (char*)NULL);
fprintf (stderr, "%s: execl: %s: %s\n", argv[0], myjudge, strerror (errno));
_exit (1);
}