From 81d27f458e9a0fed8e369d3d8508e9df694e8e29 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 15 Oct 2002 17:10:58 +0000 Subject: Cast NULL sentinel in auth_call() to a pointer --- lib/libc/gen/auth_subr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/gen/auth_subr.c b/lib/libc/gen/auth_subr.c index 24417d3b23f..728bd588a3c 100644 --- a/lib/libc/gen/auth_subr.c +++ b/lib/libc/gen/auth_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth_subr.c,v 1.13 2002/10/13 21:12:59 millert Exp $ */ +/* $OpenBSD: auth_subr.c,v 1.14 2002/10/15 17:10:57 millert Exp $ */ /*- * Copyright (c) 1995,1996,1997 Berkeley Software Design, Inc. @@ -297,7 +297,7 @@ auth_challenge(auth_session_t *as) snprintf(path, sizeof(path), _PATH_AUTHPROG "%s", as->style); auth_call(as, path, as->style, "-s", "challenge", as->name, - as->class, NULL); + as->class, (char *)NULL); if (as->state & AUTH_CHALLENGE) as->challenge = auth_getvalue(as, "challenge"); as->state = 0; -- cgit v1.2.3