summaryrefslogtreecommitdiffstats
path: root/src/test/test-uid-range.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-03-31 12:56:24 +0200
committerLennart Poettering <lennart@poettering.net>2022-04-01 11:20:12 +0200
commit09bbaa419b6522bac9ec58d6bf4967d39f0a7891 (patch)
treed1a323a56ed44acbb1708ee5e53f534c276e5596 /src/test/test-uid-range.c
parentupdate TODO (diff)
downloadsystemd-09bbaa419b6522bac9ec58d6bf4967d39f0a7891.tar.xz
systemd-09bbaa419b6522bac9ec58d6bf4967d39f0a7891.zip
uid-range: use size_t for array size
Diffstat (limited to '')
-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 16cbab07d6..0c47e8ea53 100644
--- a/src/test/test-uid-range.c
+++ b/src/test/test-uid-range.c
@@ -9,7 +9,7 @@
int main(int argc, char *argv[]) {
_cleanup_free_ UidRange *p = NULL;
- unsigned n = 0;
+ size_t n = 0;
uid_t search;
assert_se(uid_range_add_str(&p, &n, "500-999") >= 0);