summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-06-23 07:26:46 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-06-23 12:51:29 +0200
commit7420bdb0b76ab7ba6e20a0e9b080241bd8269e6b (patch)
tree00f16af63bc32ae38ff5c9e9a4a2c758fb312538 /src/db/sysdb.h
parent1a11b1a638b95c8516b21d5c6912da526298feb7 (diff)
downloadsssd-7420bdb0b76ab7ba6e20a0e9b080241bd8269e6b.tar.gz
sssd-7420bdb0b76ab7ba6e20a0e9b080241bd8269e6b.tar.xz
sssd-7420bdb0b76ab7ba6e20a0e9b080241bd8269e6b.zip
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 <preichl@redhat.com>
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h2
1 files changed, 1 insertions, 1 deletions
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,