Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3fca1b37291f10c1bc0b672f96542994873c8f4c
https://github.com/WebKit/WebKit/commit/3fca1b37291f10c1bc0b672f96542994873c8f4c
Author: Basuke Suzuki <[email protected]>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M Source/bmalloc/bmalloc/Heap.cpp
M Source/bmalloc/bmalloc/Heap.h
Log Message:
-----------
[bmalloc] Replace ssize_t with ptrdiff_t for portability.
https://bugs.webkit.org/show_bug.cgi?id=256010
Reviewed by Yusuke Suzuki.
This is the patch for Windows bmalloc implementation part 4 of N.
In Heap, ssize_t is used to pass +/- delta. Actually ssize_t is from posix and
not portable.
Let's use ptrdiff_t instead for better portability.
* Source/bmalloc/bmalloc/Heap.cpp:
(bmalloc::Heap::adjustStat):
(bmalloc::Heap::logStat):
(bmalloc::Heap::adjustFreeableMemory):
(bmalloc::Heap::adjustFootprint):
* Source/bmalloc/bmalloc/Heap.h:
Canonical link: https://commits.webkit.org/263472@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes