summaryrefslogtreecommitdiff
path: root/src/test/test-uid-range.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-uid-range.c')
-rw-r--r--src/test/test-uid-range.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-uid-range.c b/src/test/test-uid-range.c
index 06b4d43426..bc5baa2fcb 100644
--- a/src/test/test-uid-range.c
+++ b/src/test/test-uid-range.c
@@ -39,7 +39,7 @@ int main(int argc, char *argv[]) {
assert_se(uid_range_contains(p, n, 999));
assert_se(!uid_range_contains(p, n, 1000));
- search = (uid_t) -1;
+ search = UID_INVALID;
assert_se(uid_range_next_lower(p, n, &search));
assert_se(search == 999);
assert_se(uid_range_next_lower(p, n, &search));