From: Joe Orton Date: Tue, 9 Aug 2005 08:21:39 +0000 (+0000) Subject: * modules/ldap/util_ldap.c (util_ldap_parse_cert_type): Fix gcc 4 X-Git-Tag: 2.1.7~5^2~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5143fec07d078900d3555caf56e61be3ac2e4139;p=apache * modules/ldap/util_ldap.c (util_ldap_parse_cert_type): Fix gcc 4 warning "type qualifiers ignored on function return type". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231014 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ldap/util_ldap.c b/modules/ldap/util_ldap.c index 4aff9388cb..92c6be778e 100644 --- a/modules/ldap/util_ldap.c +++ b/modules/ldap/util_ldap.c @@ -1408,8 +1408,8 @@ static const char *util_ldap_set_opcache_entries(cmd_parms *cmd, void *dummy, * * If no matches are found, APR_LDAP_CA_TYPE_UNKNOWN is returned. */ -static const int util_ldap_parse_cert_type(const char *type) { - +static int util_ldap_parse_cert_type(const char *type) +{ /* Authority file in binary DER format */ if (0 == strcasecmp("CA_DER", type)) { return APR_LDAP_CA_TYPE_DER;