Browse Source

qlunits: remove word alignment test from sysvar test, as there are byte-sized vars, which are not aligned

git-svn-id: trunk@49395 -
Károly Balogh 4 years ago
parent
commit
7b03bac5d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/qlunits/tests/tsysvars.pas

+ 1 - 1
packages/qlunits/tests/tsysvars.pas

@@ -40,7 +40,7 @@ var
 begin
 begin
   actual_offset:=pbyte(test.sysvar)-pbyte(@system_vars);
   actual_offset:=pbyte(test.sysvar)-pbyte(@system_vars);
   writeln(test.name,' at: ',actual_offset,' $',hexstr(actual_offset,3));
   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;
 end;
 
 
 function test_sysvar_offsets: boolean;
 function test_sysvar_offsets: boolean;