Skip to content

Commit a5e98bb

Browse files
committed
Fix a Windows typo
1 parent ed11afe commit a5e98bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/_TestingInternals/Discovery.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ static void enumerateTypeMetadataSections(const SectionEnumerator& body) {
398398
// modules do not support unloading, so we'll just not worry about them.)
399399
using SWTSectionList = SWTVector<std::tuple<HMODULE, const void *, size_t>>;
400400
SWTSectionList sectionList;
401-
for (DWORD i = 0; i < hModuleCount; i++) {
401+
for (size_t i = 0; i < hModuleCount; i++) {
402402
if (auto section = findSection(hModules[i], ".sw5tymd")) {
403403
sectionList.emplace_back(hModules[i], section->first, section->second);
404404
}

0 commit comments

Comments
 (0)