From 7420bdb0b76ab7ba6e20a0e9b080241bd8269e6b Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mon, 23 Jun 2014 07:26:46 +0200 Subject: SYSDB: Modify declaration of sysdb_search_entry Type of parameter scope was changed s/int/enum ldb_scope/ This patch fixes warning from static analysers: src/db/sysdb_ops.c:228: mixed_enum_type: enumerated type mixed with another type Reviewed-by: Pavel Reichl --- src/db/sysdb.h | 2 +- src/db/sysdb_ops.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/db') diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 95834eed0..911430eef 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -503,7 +503,7 @@ int sysdb_delete_recursive(struct sysdb_ctx *sysdb, int sysdb_search_entry(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, struct ldb_dn *base_dn, - int scope, + enum ldb_scope scope, const char *filter, const char **attrs, size_t *_msgs_count, diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c index 50f339149..4d31cb6a0 100644 --- a/src/db/sysdb_ops.c +++ b/src/db/sysdb_ops.c @@ -208,7 +208,7 @@ done: int sysdb_search_entry(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, struct ldb_dn *base_dn, - int scope, + enum ldb_scope scope, const char *filter, const char **attrs, size_t *_msgs_count, -- cgit