diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-10-15 17:10:58 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-10-15 17:10:58 +0000 |
commit | 81d27f458e9a0fed8e369d3d8508e9df694e8e29 (patch) | |
tree | 49d6d50b22fbef677add1198c1bcdee71298b1bd /lib/libc | |
parent | 447f348e0de465bea6a2063495d14e48c82e568e (diff) |
Cast NULL sentinel in auth_call() to a pointer
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/auth_subr.c | 4 |
1 files 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; |