Skip to content

Commit

Permalink
qlunits: remove word alignment test from sysvar test, as there are by…
Browse files Browse the repository at this point in the history
…te-sized vars, which are not aligned

git-svn-id: trunk@49395 -
  • Loading branch information
chainq committed May 22, 2021
1 parent 94693e5 commit 7b03bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/qlunits/tests/tsysvars.pas
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function check_sysvar_offset(const test: offset_test): boolean;
begin
actual_offset:=pbyte(test.sysvar)-pbyte(@system_vars);
writeln(test.name,' at: ',actual_offset,' $',hexstr(actual_offset,3));
check_sysvar_offset:=(actual_offset = align(actual_offset,2)) and (test.offset = actual_offset);
check_sysvar_offset:=(test.offset = actual_offset);
end;

function test_sysvar_offsets: boolean;
Expand Down

0 comments on commit 7b03bac

Please sign in to comment.