Skip to content
This repository was archived by the owner on Jan 4, 2025. It is now read-only.

Commit 0f23309

Browse files
committed
update data types for x86 build
1 parent 90fd0fe commit 0f23309

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@
1818
/TFModern/Backup
1919
/TFModern/x64
2020
/TFMain/Backup
21+
*.rar

Common/RegHelper.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ namespace TranslucentFlyouts
2222

2323
if (!keyTree.empty())
2424
{
25-
for (auto i{ 1ull }; i <= keyTree.size(); i++)
25+
for (size_t i{ 1 }; i <= keyTree.size(); i++)
2626
{
2727
keyName = root;
28-
for (auto j{ 0ull }; j < i && maxFallThrough >= 0; j++, maxFallThrough--)
28+
for (size_t j{ 0 }; j < i && maxFallThrough >= 0; j++, maxFallThrough--)
2929
{
3030
auto index{ keyTree.size() - j - 1 };
3131
if (!keyTree[index].empty())
@@ -109,10 +109,10 @@ namespace TranslucentFlyouts
109109

110110
if (!keyTree.empty())
111111
{
112-
for (auto index{ 0 }; index < keyTree.size(); index++)
112+
for (size_t index{ 0 }; index < keyTree.size(); index++)
113113
{
114114
keyName = root;
115-
for (auto i{ keyTree.size() - 1 }; i >= index && maxFallThrough > 0; i--, maxFallThrough--)
115+
for (size_t i{ keyTree.size() - 1 }; i >= index && maxFallThrough > 0; i--, maxFallThrough--)
116116
{
117117
if (!keyTree[i].empty())
118118
{

0 commit comments

Comments
 (0)