From: Damien Miller Date: Mon, 29 Jun 2026 07:16:55 +0000 (+1000) Subject: use size_t for lengths; GHPR681 from metsw24-max X-Git-Tag: V_10_4_P1~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa5416dec1232dc67d979d28942344cdc8086ae6;p=thirdparty%2Fopenssh-portable.git use size_t for lengths; GHPR681 from metsw24-max ok dtucker --- diff --git a/openbsd-compat/bsd-cygwin_util.c b/openbsd-compat/bsd-cygwin_util.c index c2fd36fee..c182fa44a 100644 --- a/openbsd-compat/bsd-cygwin_util.c +++ b/openbsd-compat/bsd-cygwin_util.c @@ -222,7 +222,7 @@ cygwin_ug_match_pattern_list(const char *string, const char *pattern) char sub[1024]; int negated; int got_positive; - u_int i, subi, len = strlen(pattern); + size_t i, subi, len = strlen(pattern); got_positive = 0; for (i = 0; i < len;) {