aboutsummaryrefslogtreecommitdiff
path: root/nss/getXXbyYY_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/getXXbyYY_r.c')
-rw-r--r--nss/getXXbyYY_r.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nss/getXXbyYY_r.c b/nss/getXXbyYY_r.c
index 42092361be..11c4e9f71f 100644
--- a/nss/getXXbyYY_r.c
+++ b/nss/getXXbyYY_r.c
@@ -122,7 +122,8 @@ REENTRANT_NAME (ADD_PARAMS, LOOKUP_TYPE *result, char *buffer, int buflen
{
status = (*fct) (ADD_VARIABLES, result, buffer, buflen H_ERRNO_VAR);
- no_more = __nss_next (&nip, REENTRANT_NAME_STRING, &fct, status, 0);
+ no_more = __nss_next (&nip, REENTRANT_NAME_STRING,
+ (void **) &fct, status, 0);
}
return status == NSS_STATUS_SUCCESS ? result : NULL;