libwbclient: Fix two signed/unsigned hickups
authorVolker Lendecke <vl@samba.org>
Thu, 13 Jul 2017 13:52:15 +0000 (15:52 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 17 Nov 2017 23:09:16 +0000 (00:09 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
nsswitch/libwbclient/wbc_pam.c

index cb2d5a0..c31220a 100644 (file)
@@ -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);