Skip to content
Snippets Groups Projects
Commit 6d377df1 authored by Matthias Sohn's avatar Matthias Sohn
Browse files

Merge branch 'stable-5.13' into stable-6.0

* stable-5.13:
  Fix "Comparison of narrow type with wide type in loop condition"
  JGit v5.13.3.202401111512-r

Change-Id: Ib15aa83972d81986959889dc03e943fe55c78873
parents 8862c80c 9b73ec4d
Branches
Tags 4.13.0
No related merge requests found
...@@ -530,7 +530,7 @@ public PackLock parse(ProgressMonitor receiving, ProgressMonitor resolving) ...@@ -530,7 +530,7 @@ public PackLock parse(ProgressMonitor receiving, ProgressMonitor resolving)
receiving.beginTask(JGitText.get().receivingObjects, receiving.beginTask(JGitText.get().receivingObjects,
(int) expectedObjectCount); (int) expectedObjectCount);
try { try {
for (int done = 0; done < expectedObjectCount; done++) { for (long done = 0; done < expectedObjectCount; done++) {
indexOneObject(); indexOneObject();
receiving.update(1); receiving.update(1);
if (receiving.isCancelled()) if (receiving.isCancelled())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment