mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
ldb: Fix some signed/unsigned hickups
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Aug 11 23:49:38 CEST 2016 on sn-devel-144
This commit is contained in:
parent
df83b17c60
commit
e001dceadf
@ -185,8 +185,7 @@ static bool ldb_consume_element_data(uint8_t **pp, size_t *premaining)
|
||||
unsigned int remaining = *premaining;
|
||||
uint8_t *p = *pp;
|
||||
uint32_t num_values = pull_uint32(p, 0);
|
||||
uint32_t len;
|
||||
int j;
|
||||
uint32_t j, len;
|
||||
|
||||
p += 4;
|
||||
if (remaining < 4) {
|
||||
@ -348,7 +347,7 @@ int ldb_unpack_data_only_attr_list_flags(struct ldb_context *ldb,
|
||||
*/
|
||||
if (list_size != 0) {
|
||||
bool keep = false;
|
||||
int h;
|
||||
unsigned int h;
|
||||
|
||||
/*
|
||||
* We know that p has a \0 terminator before the
|
||||
|
Loading…
x
Reference in New Issue
Block a user