mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 07:50:35 +01:00
Fix wrong index error
This commit is contained in:
parent
fbec954de9
commit
0210254b2d
@ -134,7 +134,7 @@ begin
|
||||
if BinValueBytes[0] <> 154 then halt(10);
|
||||
if BinValueBytes[1] <> 188 then halt(10);
|
||||
if BinValueBytes[2] <> 222 then halt(10);
|
||||
if BinValueBytes[4] <> 0 then halt(10);
|
||||
if BinValueBytes[3] <> 0 then halt(10);
|
||||
|
||||
SetLength(BinValueBytes, HexInLen);
|
||||
FillChar(BinValueBytes[0], Length(BinValueBytes), 0);
|
||||
@ -144,7 +144,7 @@ begin
|
||||
if BinValueBytes[0] <> 154 then halt(11);
|
||||
if BinValueBytes[1] <> 188 then halt(11);
|
||||
if BinValueBytes[2] <> 222 then halt(11);
|
||||
if BinValueBytes[4] <> 0 then halt(11);
|
||||
if BinValueBytes[3] <> 0 then halt(11);
|
||||
|
||||
SetLength(BinValueBytes, HexInLen);
|
||||
FillChar(BinValueBytes[0], Length(BinValueBytes), 0);
|
||||
@ -154,7 +154,7 @@ begin
|
||||
if BinValueBytes[0] <> 154 then halt(12);
|
||||
if BinValueBytes[1] <> 188 then halt(12);
|
||||
if BinValueBytes[2] <> 222 then halt(12);
|
||||
if BinValueBytes[4] <> 0 then halt(12);
|
||||
if BinValueBytes[3] <> 0 then halt(12);
|
||||
|
||||
{* test complex offset methods *}
|
||||
// ansistring
|
||||
|
||||
Loading…
Reference in New Issue
Block a user