File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ Expected<StringRef> XCOFFObjectFile::getSectionName(DataRefImpl Sec) const {
379
379
}
380
380
381
381
uint64_t XCOFFObjectFile::getSectionAddress (DataRefImpl Sec) const {
382
- // Avoid ternary due to failure to convert the ubig32_t value to a unit64_t
382
+ // Avoid ternary due to failure to convert the ubig32_t value to a uint64_t
383
383
// with MSVC.
384
384
if (is64Bit ())
385
385
return toSection64 (Sec)->VirtualAddress ;
@@ -397,7 +397,7 @@ uint64_t XCOFFObjectFile::getSectionIndex(DataRefImpl Sec) const {
397
397
}
398
398
399
399
uint64_t XCOFFObjectFile::getSectionSize (DataRefImpl Sec) const {
400
- // Avoid ternary due to failure to convert the ubig32_t value to a unit64_t
400
+ // Avoid ternary due to failure to convert the ubig32_t value to a uint64_t
401
401
// with MSVC.
402
402
if (is64Bit ())
403
403
return toSection64 (Sec)->SectionSize ;
You can’t perform that action at this time.
0 commit comments