Subject: Re: [PATCH v4 2/6] xdiff: use unambiguous types in xdl_bogo_sqrt()

From: Junio C Hamano <[email-masked]>
Date: Mon, 30 Mar 2026 15:59:49 -0700

"Ezekiel Newren via GitGitGadget" <[email-masked]> writes:

> -	xenv.mxcost = xdl_bogosqrt(ndiags);
> +	xenv.mxcost = (long)xdl_bogosqrt((uint64_t)ndiags);

There is nothing actionable, but this makes me wonder if we want to
update the type of .mxcost member (which seems to never go negative)
somehow.  I also wonder if uint32_t should be sufficiently wide for
xdl_bogosqrt() that takes uint64_t.