Skip to content

Commit

Permalink
qnx/mkfiles: fix the version num math
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Dec 12, 2024
1 parent 5abc2e3 commit 4a0eeea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qnx/mkfiles.pl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ sub checksum {
sub num {
my ($t)=@_;
if($t =~ /^(\d)\.(\d+)\.(\d+)-(\d+)/) {
return 1000000*$1 + 10000*$2 + 100+$3 + $4;
return 1000000*$1 + 10000*$2 + 100*$3 + $4;
}
return 0;
}
Expand Down

0 comments on commit 4a0eeea

Please sign in to comment.