mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
lib ldb ldb_key_value: csbuild fix signed unsigned compare
Fixes csbuild error. Error: COMPILER_WARNING: lib/ldb/ldb_key_value/ldb_kv_index.c: scope_hint: In function ‘ldb_kv_index_add1’ lib/ldb/ldb_key_value/ldb_kv_index.c:2601:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
a538c31aa4
commit
566ca19482
@ -2596,7 +2596,7 @@ static int ldb_kv_index_add1(struct ldb_module *module,
|
||||
*
|
||||
* So need to pull the DN's to check if it's really a duplicate
|
||||
*/
|
||||
int i;
|
||||
unsigned int i;
|
||||
for (i=0; i < list->count; i++) {
|
||||
uint8_t guid_key[LDB_KV_GUID_KEY_SIZE];
|
||||
struct ldb_val key = {
|
||||
|
Loading…
Reference in New Issue
Block a user