]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
nsswitch: Align integer types
authorVolker Lendecke <vl@samba.org>
Mon, 23 Dec 2024 10:14:00 +0000 (11:14 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 23 Jan 2025 23:08:38 +0000 (23:08 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
nsswitch/libwbclient/wbc_util.c

index d3de8320b9484b4d84800767c60e62f232789b8f..d97e00db383a33d1d02a7b53b30d7fcb74704c14 100644 (file)
@@ -243,7 +243,7 @@ wbcErr wbcCtxDcInfo(struct wbcContext *ctx,
        const char **ips = NULL;
        wbcErr wbc_status = WBC_ERR_UNKNOWN_FAILURE;
        size_t extra_len;
-       int i;
+       uint32_t i;
        char *p;
 
        /* Initialise request */
@@ -563,7 +563,7 @@ wbcErr wbcCtxListTrusts(struct wbcContext *ctx,
        char *p = NULL;
        char *extra_data = NULL;
        struct wbcDomainInfo *d_list = NULL;
-       int i = 0;
+       uint32_t i = 0;
 
        *domains = NULL;
        *num_domains = 0;