fix syntax error

This commit is contained in:
sk 2022-11-02 20:25:42 +01:00
parent 8c8eb395de
commit 349d95b8ee
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ public class GithubSelfUpdaterImpl extends GithubSelfUpdater{
}
int curMajor=Integer.parseInt(matcher.group(1)),
curMinor=Integer.parseInt(matcher.group(2)),
curRevision=Integer.parseInt(matcher.group(3));
curRevision=Integer.parseInt(matcher.group(3)),
curForkNumber=Integer.parseInt(matcher.group(4));
long newVersion=((long)newMajor << 32) | ((long)newMinor << 16) | newRevision;
long curVersion=((long)curMajor << 32) | ((long)curMinor << 16) | curRevision;