Fix subordinate_next() return value.

* lib/subordinateio.c (subordinate_next): Fix return value.
This commit is contained in:
Nicolas François 2013-08-19 21:29:50 +02:00
parent 2883ff6ad5
commit 115aeef1c4
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-08-19 Nicolas François <nicolas.francois@centraliens.net>
* lib/subordinateio.c (subordinate_next): Fix return value.
2013-08-16 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/idmapping.c: Include <stdio.h> needed for fprintf() and

View File

@ -122,7 +122,7 @@ static struct commonio_ops subordinate_ops = {
static /*@observer@*/ /*@null*/const struct subordinate_range *subordinate_next(struct commonio_db *db)
{
commonio_next (db);
return (const struct subordinate_range *)commonio_next (db);
}
static const bool range_exists(struct commonio_db *db, const char *owner)