1 diff -urN org/modules/ldapbackend/ldapbackend.cc mod/modules/ldapbackend/ldapbackend.cc
2 --- org/modules/ldapbackend/ldapbackend.cc 2006-03-15 19:29:39.000000000 +0100
3 +++ mod/modules/ldapbackend/ldapbackend.cc 2006-04-08 02:07:50.117145250 +0200
8 - rr.priority = (uint16_t) strtoul( (content.substr( 0, first )).c_str(), &endptr, 10 );
9 + rr.priority = (u_int16_t) strtoul( (content.substr( 0, first )).c_str(), &endptr, 10 );
12 L << Logger::Warning << m_myname << " Invalid " << attrname << " without priority for " << m_qname << ": " << content << endl;
13 diff -urN org/modules/ldapbackend/powerldap.cc mod/modules/ldapbackend/powerldap.cc
14 --- org/modules/ldapbackend/powerldap.cc 2006-03-15 19:29:39.000000000 +0100
15 +++ mod/modules/ldapbackend/powerldap.cc 2006-04-08 02:08:31.295718750 +0200
20 -PowerLDAP::PowerLDAP( const string& hosts, uint16_t port, bool tls )
21 +PowerLDAP::PowerLDAP( const string& hosts, u_int16_t port, bool tls )
23 int protocol = LDAP_VERSION3;
25 diff -urN org/modules/ldapbackend/powerldap.hh mod/modules/ldapbackend/powerldap.hh
26 --- org/modules/ldapbackend/powerldap.hh 2006-03-15 19:29:39.000000000 +0100
27 +++ mod/modules/ldapbackend/powerldap.hh 2006-04-08 02:09:04.773811000 +0200
29 typedef map<string, vector<string> > sentry_t;
30 typedef vector<sentry_t> sresult_t;
32 - PowerLDAP( const string& hosts = "ldap://127.0.0.1/", uint16_t port = LDAP_PORT, bool tls = false );
33 + PowerLDAP( const string& hosts = "ldap://127.0.0.1/", u_int16_t port = LDAP_PORT, bool tls = false );
36 void getOption( int option, int* value );