summaryrefslogtreecommitdiffstats
path: root/source4/rpc_server/drsuapi/getncchanges.c
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-21 18:57:24 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-05 18:38:58 +0100
commitf24dfbfb181b1d550d30c6942aa9ca75d164524d (patch)
tree308a36e99757822ba2a5d5220d530d519e2e4c9f /source4/rpc_server/drsuapi/getncchanges.c
parent61ae4be2567738456be07b36c6ea9012906e3e7d (diff)
downloadsamba-f24dfbfb181b1d550d30c6942aa9ca75d164524d.tar.gz
samba-f24dfbfb181b1d550d30c6942aa9ca75d164524d.tar.xz
samba-f24dfbfb181b1d550d30c6942aa9ca75d164524d.zip
s4:drsuapi RPC - Change also here counters to "unsigned"
No need to have "signed" counters at those places.
Diffstat (limited to 'source4/rpc_server/drsuapi/getncchanges.c')
-rw-r--r--source4/rpc_server/drsuapi/getncchanges.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c
index c65d10d35c..1e407501a5 100644
--- a/source4/rpc_server/drsuapi/getncchanges.c
+++ b/source4/rpc_server/drsuapi/getncchanges.c
@@ -96,7 +96,7 @@ static WERROR get_nc_changes_build_object(struct drsuapi_DsReplicaObjectListItem
struct drsuapi_DsReplicaCursorCtrEx *uptodateness_vector)
{
const struct ldb_val *md_value;
- int i, n;
+ unsigned int i, n;
struct replPropertyMetaDataBlob md;
uint32_t rid = 0;
enum ndr_err_code ndr_err;
@@ -345,14 +345,14 @@ static WERROR get_nc_changes_add_links(struct ldb_context *sam_ctx,
uint32_t *la_count,
struct drsuapi_DsReplicaCursorCtrEx *uptodateness_vector)
{
- int i;
+ unsigned int i;
TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx);
uint64_t uSNChanged = ldb_msg_find_attr_as_int(msg, "uSNChanged", -1);
for (i=0; i<msg->num_elements; i++) {
struct ldb_message_element *el = &msg->elements[i];
const struct dsdb_attribute *sa;
- int j;
+ unsigned int j;
sa = dsdb_attribute_by_lDAPDisplayName(schema, el->name);
@@ -653,7 +653,7 @@ WERROR dcesrv_drsuapi_DsGetNCChanges(struct dcesrv_call_state *dce_call, TALLOC_
{
struct drsuapi_DsReplicaObjectIdentifier *ncRoot;
int ret;
- int i;
+ unsigned int i;
struct dsdb_schema *schema;
struct drsuapi_DsReplicaOIDMapping_Ctr *ctr;
struct drsuapi_DsReplicaObjectListItemEx **currentObject;