diff options
author | plunky <plunky@NetBSD.org> | 2011-09-01 07:18:50 +0000 |
---|---|---|
committer | plunky <plunky@NetBSD.org> | 2011-09-01 07:18:50 +0000 |
commit | 05e32d2c4644c0f6f1cef31873e8d2d0642efa1c (patch) | |
tree | 9f4e83ad0ad219db146ca6ac4d5f8d2b835ee08a /hunt | |
parent | e4a1f12e7e44b2b62ece74c9ea36354fa944acf9 (diff) | |
download | bsdgames-darwin-05e32d2c4644c0f6f1cef31873e8d2d0642efa1c.tar.gz bsdgames-darwin-05e32d2c4644c0f6f1cef31873e8d2d0642efa1c.tar.zst bsdgames-darwin-05e32d2c4644c0f6f1cef31873e8d2d0642efa1c.zip |
reinstate NULL cast by request, where the NULL was being passed as a vararg
Diffstat (limited to 'hunt')
-rw-r--r-- | hunt/hunt/hunt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hunt/hunt/hunt.c b/hunt/hunt/hunt.c index 30bdb55a..133741b7 100644 --- a/hunt/hunt/hunt.c +++ b/hunt/hunt/hunt.c @@ -1,4 +1,4 @@ -/* $NetBSD: hunt.c,v 1.40 2011/08/31 16:24:56 plunky Exp $ */ +/* $NetBSD: hunt.c,v 1.41 2011/09/01 07:18:50 plunky Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. * All rights reserved. @@ -32,7 +32,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hunt.c,v 1.40 2011/08/31 16:24:56 plunky Exp $"); +__RCSID("$NetBSD: hunt.c,v 1.41 2011/09/01 07:18:50 plunky Exp $"); #endif /* not lint */ #include <sys/param.h> @@ -624,10 +624,10 @@ start_driver(void) #else if (use_port == NULL) #endif - execl(Driver, "HUNT", NULL); + execl(Driver, "HUNT", (char *) NULL); #ifdef INTERNET else - execl(Driver, "HUNT", "-p", use_port, NULL); + execl(Driver, "HUNT", "-p", use_port, (char *) NULL); #endif /* only get here if exec failed */ (void) kill(getppid(), SIGUSR1); /* tell mom */ |