From: Tom Gundersen Date: Thu, 25 May 2017 14:11:04 +0000 (+0200) Subject: logn: tests - don't compare signed with unsigned X-Git-Tag: v234~162^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0bf7d7cc888c87889584d2ff2926360e08cc641f;p=thirdparty%2Fsystemd.git logn: tests - don't compare signed with unsigned --- diff --git a/src/libsystemd/sd-login/test-login.c b/src/libsystemd/sd-login/test-login.c index 6889d2f0b40..6a51ae6a913 100644 --- a/src/libsystemd/sd-login/test-login.c +++ b/src/libsystemd/sd-login/test-login.c @@ -41,7 +41,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;