Explorar el Código

* fixed size of bitpacked arrays

git-svn-id: trunk@4488 -
Jonas Maebe hace 19 años
padre
commit
37a9ce25d5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      compiler/symdef.pas

+ 1 - 1
compiler/symdef.pas

@@ -2605,7 +2605,7 @@ implementation
           end;
 
         if (ado_IsBitPacked in arrayoptions) then
-          size:=align(cachedelesize * cachedelecount,alignment) div 8
+          size:=align(cachedelesize * cachedelecount,alignment*8) div 8
         else
           result:=cachedelesize*cachedelecount;
       end;