diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-12 18:23:31 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-12 18:23:31 +0100 |
| commit | fe55f67bf7a5aeba365d7af1d681cef1d9ed7a3c (patch) | |
| tree | 9e962f83a756522ab17f24b3703971348ea4de2f /include/CompilerKit/MachO.h | |
| parent | 9792287fddc2fc9f47c71b3f9fd69933c9010275 (diff) | |
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/CompilerKit/MachO.h')
| -rw-r--r-- | include/CompilerKit/MachO.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/CompilerKit/MachO.h b/include/CompilerKit/MachO.h index 2942420..05131ad 100644 --- a/include/CompilerKit/MachO.h +++ b/include/CompilerKit/MachO.h @@ -43,9 +43,7 @@ namespace MachO { constexpr uint32_t kSectionAlign = 4; /// @brief Helper to align a value to page boundary - inline uint64_t AlignToPage(uint64_t value) { - return (value + kPageSize - 1) & ~(kPageSize - 1); - } + inline uint64_t AlignToPage(uint64_t value) { return (value + kPageSize - 1) & ~(kPageSize - 1); } /// @brief Helper to copy segment/section name safely inline void CopySegmentName(char* dest, const char* src) { |
