Berkeley DB Reference Guide:
  Upgrading Berkeley DB Applications

Release 4.7: Replication API

The Berkeley DB base replication API DB_ENV->rep_elect, DB_ENV->rep_get_nsites, DB_ENV->rep_set_nsites, DB_ENV->rep_get_priority and DB_ENV->rep_set_priority methods now take arguments of type u_int32_t rather than int. Applications may need to change the types of arguments to these methods, or cast arguments to these methods to avoid compiler warnings.

Copyright (c) 1996,2008 Oracle. All rights reserved.