From 87c443256223a91192b8ea3db94fbd40557be881 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 13 Jul 2017 15:52:15 +0200 Subject: [PATCH] libwbclient: Fix two signed/unsigned hickups Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- nsswitch/libwbclient/wbc_pam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nsswitch/libwbclient/wbc_pam.c b/nsswitch/libwbclient/wbc_pam.c index cb2d5a0f4c4..c31220ae7eb 100644 --- a/nsswitch/libwbclient/wbc_pam.c +++ b/nsswitch/libwbclient/wbc_pam.c @@ -727,7 +727,7 @@ wbcErr wbcCtxLogoffUserEx(struct wbcContext *ctx, struct winbindd_request request; struct winbindd_response response; wbcErr wbc_status = WBC_ERR_UNKNOWN_FAILURE; - int i; + size_t i; /* validate input */ @@ -1269,7 +1269,7 @@ wbcErr wbcCtxCredentialCache(struct wbcContext *ctx, struct winbindd_response response; struct wbcNamedBlob *initial_blob = NULL; struct wbcNamedBlob *challenge_blob = NULL; - int i; + size_t i; ZERO_STRUCT(request); ZERO_STRUCT(response);