diff options
author | 2016-01-09 21:54:11 +0000 | |
---|---|---|
committer | 2016-01-09 21:54:11 +0000 | |
commit | 6acf840eb12048fe6e815d917fa237f8a82441d8 (patch) | |
tree | 2b30fa6c735dd1c988490fb02d83b76d543e3560 /games/hack/hack.o_init.c | |
parent | Replace "function call" with "function" when referring to a function (diff) | |
download | wireguard-openbsd-6acf840eb12048fe6e815d917fa237f8a82441d8.tar.xz wireguard-openbsd-6acf840eb12048fe6e815d917fa237f8a82441d8.zip |
Remove several casts to (char *) 0 and replace them by NULL
Prompted and OK by tb@
Diffstat (limited to 'games/hack/hack.o_init.c')
-rw-r--r-- | games/hack/hack.o_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/hack/hack.o_init.c b/games/hack/hack.o_init.c index 3e31aa93549..cb01e1c90b4 100644 --- a/games/hack/hack.o_init.c +++ b/games/hack/hack.o_init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hack.o_init.c,v 1.7 2016/01/09 18:33:15 mestre Exp $ */ +/* $OpenBSD: hack.o_init.c,v 1.8 2016/01/09 21:54:11 mestre Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -220,9 +220,9 @@ dodiscovered(void) /* free after Robert Viduya */ } if (ct == 0) { pline ("You haven't discovered anything yet..."); - cornline(3, (char *) 0); + cornline(3, NULL); } else - cornline(2, (char *) 0); + cornline(2, NULL); return(0); } |