1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

libcli/security: Remove unnecessary cast

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-08-01 15:48:21 +12:00 committed by Andrew Bartlett
parent aa0cddad52
commit 38b93532a7

View File

@ -113,7 +113,7 @@ size_t security_token_count_flag_sids(const struct security_token *token,
const struct dom_sid *sid = &token->sids[i];
int cmp;
if ((size_t)sid->num_auths != num_auths_expected) {
if (sid->num_auths != num_auths_expected) {
continue;
}