Fix signed/unsigned comparison to avoid compilation warning (GH-24441)

1 file changed