From 38b93532a7669f388dca60a25e6a0aaf55474148 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Tue, 1 Aug 2023 15:48:21 +1200 Subject: [PATCH] libcli/security: Remove unnecessary cast Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- libcli/security/security_token.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcli/security/security_token.c b/libcli/security/security_token.c index 626614b5a59..17d6c73abbb 100644 --- a/libcli/security/security_token.c +++ b/libcli/security/security_token.c @@ -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; }