Skip to content

Commit

Permalink
update data types for x86 build
Browse files Browse the repository at this point in the history
  • Loading branch information
ALTaleX531 committed Mar 13, 2024
1 parent 90fd0fe commit 0f23309
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@
/TFModern/Backup
/TFModern/x64
/TFMain/Backup
*.rar
8 changes: 4 additions & 4 deletions Common/RegHelper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ namespace TranslucentFlyouts

if (!keyTree.empty())
{
for (auto i{ 1ull }; i <= keyTree.size(); i++)
for (size_t i{ 1 }; i <= keyTree.size(); i++)
{
keyName = root;
for (auto j{ 0ull }; j < i && maxFallThrough >= 0; j++, maxFallThrough--)
for (size_t j{ 0 }; j < i && maxFallThrough >= 0; j++, maxFallThrough--)
{
auto index{ keyTree.size() - j - 1 };
if (!keyTree[index].empty())
Expand Down Expand Up @@ -109,10 +109,10 @@ namespace TranslucentFlyouts

if (!keyTree.empty())
{
for (auto index{ 0 }; index < keyTree.size(); index++)
for (size_t index{ 0 }; index < keyTree.size(); index++)
{
keyName = root;
for (auto i{ keyTree.size() - 1 }; i >= index && maxFallThrough > 0; i--, maxFallThrough--)
for (size_t i{ keyTree.size() - 1 }; i >= index && maxFallThrough > 0; i--, maxFallThrough--)
{
if (!keyTree[i].empty())
{
Expand Down

0 comments on commit 0f23309

Please sign in to comment.