summaryrefslogtreecommitdiff
path: root/COFF/DLL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'COFF/DLL.cpp')
-rw-r--r--COFF/DLL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/COFF/DLL.cpp b/COFF/DLL.cpp
index 8f3383d75c7bb..9ac370c11d592 100644
--- a/COFF/DLL.cpp
+++ b/COFF/DLL.cpp
@@ -45,7 +45,7 @@ public:
size_t getSize() const override {
// Starts with 2 byte Hint field, followed by a null-terminated string,
// ends with 0 or 1 byte padding.
- return align(Name.size() + 3, 2);
+ return alignTo(Name.size() + 3, 2);
}
void writeTo(uint8_t *Buf) const override {