diff -Naur pdns-2.9.19-orig/modules/ldapbackend/ldapbackend.cc pdns-2.9.19/modules/ldapbackend/ldapbackend.cc --- pdns-2.9.19-orig/modules/ldapbackend/ldapbackend.cc 2005-09-03 18:12:43.000000000 +0000 +++ pdns-2.9.19/modules/ldapbackend/ldapbackend.cc 2005-11-16 17:22:33.000000000 +0000 @@ -429,7 +429,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 -Naur pdns-2.9.19-orig/modules/ldapbackend/powerldap.cc pdns-2.9.19/modules/ldapbackend/powerldap.cc --- pdns-2.9.19-orig/modules/ldapbackend/powerldap.cc 2005-09-03 18:12:43.000000000 +0000 +++ pdns-2.9.19/modules/ldapbackend/powerldap.cc 2005-11-16 17:22:59.000000000 +0000 @@ -2,7 +2,7 @@ -PowerLDAP::PowerLDAP( const string& host, uint16_t port, bool tls ) +PowerLDAP::PowerLDAP( const string& host, u_int16_t port, bool tls ) { int protocol = LDAP_VERSION3; diff -Naur pdns-2.9.19-orig/modules/ldapbackend/powerldap.hh pdns-2.9.19/modules/ldapbackend/powerldap.hh --- pdns-2.9.19-orig/modules/ldapbackend/powerldap.hh 2005-09-03 18:12:43.000000000 +0000 +++ pdns-2.9.19/modules/ldapbackend/powerldap.hh 2005-11-16 17:23:23.000000000 +0000 @@ -69,7 +69,7 @@ typedef map > sentry_t; typedef vector sresult_t; - PowerLDAP( const string& host = "127.0.0.1", uint16_t port = LDAP_PORT, bool tls = false ); + PowerLDAP( const string& host = "127.0.0.1", u_int16_t port = LDAP_PORT, bool tls = false ); ~PowerLDAP(); void getOption( int option, int* value );