1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

ldb paged_results: quieten a warning.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
Douglas Bagnall 2016-01-26 13:34:58 +13:00 committed by Andrew Bartlett
parent 4c38e74d7c
commit 182c87fb82

View File

@ -67,7 +67,7 @@ struct results_store {
};
struct private_data {
unsigned int next_free_id;
uint32_t next_free_id;
struct results_store *store;
};
@ -96,7 +96,7 @@ static int store_destructor(struct results_store *del)
static struct results_store *new_store(struct private_data *priv)
{
struct results_store *newr;
unsigned int new_id = priv->next_free_id++;
uint32_t new_id = priv->next_free_id++;
/* TODO: we should have a limit on the number of
* outstanding paged searches