]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libsmb: Align an integer type
authorVolker Lendecke <vl@samba.org>
Tue, 10 Mar 2026 10:14:48 +0000 (11:14 +0100)
committerAnoop C S <anoopcs@samba.org>
Fri, 26 Jun 2026 10:41:34 +0000 (10:41 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/libsmb/errormap.c

index fb2371e3009ab459b7b66baad88e25add5ca9a1c..97ee05ec936d9630227d44114f5f7c4139a2bdf4 100644 (file)
@@ -321,7 +321,7 @@ static const struct {
 
 NTSTATUS map_nt_error_from_wbcErr(wbcErr wbc_err)
 {
-       int i;
+       size_t i;
 
        /* Look through list */
        for (i=0;i<ARRAY_SIZE(wbcErr_ntstatus_map);i++) {