Francois Gouget : ntdll: S/4Gb/4GB/ in a comment since it refers to bytes.
Module: wine Branch: master Commit: ca577af1bc737104ff6fdb2c25473fd18a2d619f URL: https://source.winehq.org/git/wine.git/?a=commit;h=ca577af1bc737104ff6fdb2c2... Author: Francois Gouget <fgouget(a)free.fr> Date: Thu Nov 21 15:57:06 2019 +0100 ntdll: S/4Gb/4GB/ in a comment since it refers to bytes. Signed-off-by: Francois Gouget <fgouget(a)free.fr> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/ntdll/heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntdll/heap.c b/dlls/ntdll/heap.c index e8ac1ffa7a..d7232b47d6 100644 --- a/dlls/ntdll/heap.c +++ b/dlls/ntdll/heap.c @@ -882,7 +882,7 @@ static SUBHEAP *HEAP_CreateSubHeap( HEAP *heap, LPVOID address, DWORD flags, if (!address) { if (!commitSize) commitSize = COMMIT_MASK + 1; - totalSize = min( totalSize, 0xffff0000 ); /* don't allow a heap larger than 4Gb */ + totalSize = min( totalSize, 0xffff0000 ); /* don't allow a heap larger than 4GB */ if (totalSize < commitSize) totalSize = commitSize; if (flags & HEAP_SHARED) commitSize = totalSize; /* always commit everything in a shared heap */ commitSize = min( totalSize, (commitSize + COMMIT_MASK) & ~COMMIT_MASK );
participants (1)
-
Alexandre Julliard