From: Volker Lendecke Date: Tue, 23 Dec 2025 11:12:54 +0000 (+0100) Subject: pysmbd: Silence a signed/unsigned warning X-Git-Tag: tdb-1.4.15~168 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c937122d62f4c3f2eb92ad2db8db324e1133a132;p=thirdparty%2Fsamba.git pysmbd: Silence a signed/unsigned warning Signed-off-by: Volker Lendecke Reviewed-by: Anoop C S --- diff --git a/source3/smbd/pysmbd.c b/source3/smbd/pysmbd.c index 5b599d85ef8..d6f937b20c3 100644 --- a/source3/smbd/pysmbd.c +++ b/source3/smbd/pysmbd.c @@ -461,7 +461,7 @@ static SMB_ACL_T make_simple_acl(TALLOC_CTX *mem_ctx, return NULL; } - if (gid != -1) { + if (gid != (gid_t)-1) { if (sys_acl_create_entry(&acl, &entry) != 0) { TALLOC_FREE(acl); return NULL;