diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2024-08-14 10:51:16 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2024-08-14 10:51:16 +0200 |
commit | f9431205c1efcc81349590d5124a2a8bd429c0ad (patch) | |
tree | 873ab3133d717b557508acea8c95e0bc60bf64bd | |
parent | 6ba63b0d882f3750c5cd9c064ecf696ff8c1c3be (diff) | |
parent | cd81b68107f62562a9a66944381042d6082134cc (diff) | |
download | jgit-f9431205c1efcc81349590d5124a2a8bd429c0ad.tar.gz jgit-f9431205c1efcc81349590d5124a2a8bd429c0ad.zip |
Merge branch 'stable-6.2' into stable-6.3stable-6.3
* stable-6.2:
Fix "Comparison of narrow type with wide type in loop condition"
JGit v5.13.3.202401111512-r
Change-Id: I6bce3a4d64a617d74d0cbf4e79887b067e1ea2c5
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java index e43ea0261e..f33095fa69 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java @@ -530,7 +530,7 @@ public abstract class PackParser { receiving.beginTask(JGitText.get().receivingObjects, (int) expectedObjectCount); try { - for (int done = 0; done < expectedObjectCount; done++) { + for (long done = 0; done < expectedObjectCount; done++) { indexOneObject(); receiving.update(1); if (receiving.isCancelled()) |