Skip to content

Commit

Permalink
fix: ZXing.Common.BitMatrix Range Check Error - #104
Browse files Browse the repository at this point in the history
  • Loading branch information
Spelt committed Aug 29, 2020
1 parent 70ed58e commit a2ad2bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/Classes/Common/ZXing.Common.BitMatrix.pas
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ implementation

function TBitMatrix.getBit(x, y: Integer): Boolean;
var
offset, v, bits, shift: Integer;
offset, v, bits, shift: Int64;
uBits: Cardinal;
begin
offset := y * FrowSize + TMathUtils.Asr(x, 5);
Expand Down

0 comments on commit a2ad2bb

Please sign in to comment.