diff -urN org/modules/ldapbackend/ldapbackend.cc mod/modules/ldapbackend/ldapbackend.cc --- org/modules/ldapbackend/ldapbackend.cc 2006-03-15 19:29:39.000000000 +0100 +++ mod/modules/ldapbackend/ldapbackend.cc 2006-04-08 02:07:50.117145250 +0200 @@ -420,7 +420,7 @@ continue; } - rr.priority = (uint16_t) strtoul( (content.substr( 0, first )).c_str(), &endptr, 10 ); + rr.priority = (u_int16_t) strtoul( (content.substr( 0, first )).c_str(), &endptr, 10 ); if( *endptr != '\0' ) { L << Logger::Warning << m_myname << " Invalid " << attrname << " without priority for " << m_qname << ": " << content << endl; diff -urN org/modules/ldapbackend/powerldap.cc mod/modules/ldapbackend/powerldap.cc --- org/modules/ldapbackend/powerldap.cc 2006-03-15 19:29:39.000000000 +0100 +++ mod/modules/ldapbackend/powerldap.cc 2006-04-08 02:08:31.295718750 +0200 @@ -2,7 +2,7 @@ -PowerLDAP::PowerLDAP( const string& hosts, uint16_t port, bool tls ) +PowerLDAP::PowerLDAP( const string& hosts, u_int16_t port, bool tls ) { int protocol = LDAP_VERSION3; diff -urN org/modules/ldapbackend/powerldap.hh mod/modules/ldapbackend/powerldap.hh --- org/modules/ldapbackend/powerldap.hh 2006-03-15 19:29:39.000000000 +0100 +++ mod/modules/ldapbackend/powerldap.hh 2006-04-08 02:09:04.773811000 +0200 @@ -79,7 +79,7 @@ typedef map > sentry_t; typedef vector sresult_t; - PowerLDAP( const string& hosts = "ldap://127.0.0.1/", uint16_t port = LDAP_PORT, bool tls = false ); + PowerLDAP( const string& hosts = "ldap://127.0.0.1/", u_int16_t port = LDAP_PORT, bool tls = false ); ~PowerLDAP(); void getOption( int option, int* value );