# HG changeset patch # User Matti Hamalainen # Date 1290305648 -7200 # Node ID 3ccfe8902fd500d81bf357fea4e497d92bca306b # Parent 659b8229d01584d5465078a21e3af842921307fe Use (void *) typecast for execlp() sentinel to avoid a warning under OpenBSD. diff -r 659b8229d015 -r 3ccfe8902fd5 nnchat.c --- a/nnchat.c Sun Nov 21 04:12:16 2010 +0200 +++ b/nnchat.c Sun Nov 21 04:14:08 2010 +0200 @@ -688,7 +688,7 @@ if ((pid = fork()) < 0) { printMsg("Could not create sub-process!\n"); } else if (pid == 0) { - execlp(setBrowser, setBrowser, "-remote", tmpBuf, NULL); + execlp(setBrowser, setBrowser, "-remote", tmpBuf, (void *)NULL); _exit(errno); }