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 {
379379}
380380
381381uint64_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
383383 // with MSVC.
384384 if (is64Bit ())
385385 return toSection64 (Sec)->VirtualAddress ;
@@ -397,7 +397,7 @@ uint64_t XCOFFObjectFile::getSectionIndex(DataRefImpl Sec) const {
397397}
398398
399399uint64_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
401401 // with MSVC.
402402 if (is64Bit ())
403403 return toSection64 (Sec)->SectionSize ;
You can’t perform that action at this time.
0 commit comments