Browse Source

* set the TinyHeapMinBlock const relative to the pointer size

git-svn-id: trunk@24521 -
nickysn 12 năm trước cách đây
mục cha
commit
6695c8578f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      rtl/inc/tinyheap.inc

+ 1 - 1
rtl/inc/tinyheap.inc

@@ -14,7 +14,7 @@
  **********************************************************************}
  **********************************************************************}
 
 
     const
     const
-      TinyHeapMinBlock = 16;
+      TinyHeapMinBlock = 4*sizeof(pointer);
 
 
     type
     type
       PTinyHeapBlock = ^TTinyHeapBlock;
       PTinyHeapBlock = ^TTinyHeapBlock;