]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd/sd-login/test-login.c
logn: tests - don't compare signed with unsigned
[thirdparty/systemd.git] / src / libsystemd / sd-login / test-login.c
index 6889d2f0b40a1b3bce9a802b036a3284281f03e0..6a51ae6a913ba455c2dc6f3d2898ba003404d1a0 100644 (file)
@@ -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;