Actually, there is only one call to profile_get_boolean() in use_dns_uri() that needs a cast: ret = profile_get_boolean(ctx->profile, KRB5_CONF_LIBDEFAULTS, KRB5_CONF_DNS_URI_LOOKUP, NULL, DEFAULT_URI_LOOKUP, (int *)&use); ^^^^^^^ and everything else compiles without error. -- Will Fiveash Oracle Solaris Software Engineer