* Note: -C is only available in FreeBSD 2.2 and above
*/
#ifdef HAVE_PWDB_C
- if (pwdb("-C", NULL) == 0) { /* Check only */
+ if (pwdb("-C", (char *)NULL) == 0) { /* Check only */
#else
{ /* No -C */
#endif
rc = pwdb(NULL);
#ifdef HAVE_PWDB_U
else
- rc = pwdb("-u", user, NULL);
+ rc = pwdb("-u", user, (char *)NULL);
#endif
}
}