summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2017-05-25 16:11:04 +0200
committerSven Eden <yamakuzure@gmx.net>2017-07-25 09:46:52 +0200
commit5946037c970bc13f11d816e5dbde6fc6c8b3007b (patch)
treec55e0c8aef0a9e12e5230e71c3f3f653e923241a
parent486affdf2880485578bb54c7f6d4789cae396acb (diff)
logn: tests - don't compare signed with unsigned
-rw-r--r--src/libelogind/sd-login/test-login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libelogind/sd-login/test-login.c b/src/libelogind/sd-login/test-login.c
index 5fd0c131e..589776a7c 100644
--- a/src/libelogind/sd-login/test-login.c
+++ b/src/libelogind/sd-login/test-login.c
@@ -43,7 +43,7 @@ static char* format_uids(char **buf, uid_t* uids, int count) {
pos += inc;
}
- assert_se(pos < size);
+ assert_se(pos < (ssize_t)size);
(*buf)[pos] = '\0';
return *buf;