summaryrefslogtreecommitdiffstats
path: root/api/logic/java/JavaUtils.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-05-21 22:30:53 +0200
committerPetr Mrázek <peterix@gmail.com>2017-05-21 22:30:53 +0200
commit4133247bff3c4d2e51bc2d54a301e3b99557c3ed (patch)
treeeea5fdb100d798b15cdc4a0827db1725234fb673 /api/logic/java/JavaUtils.cpp
parentc329bc73c0c3830d2c2ec024c452b1a0e48e36a8 (diff)
downloadMultiMC-4133247bff3c4d2e51bc2d54a301e3b99557c3ed.tar
MultiMC-4133247bff3c4d2e51bc2d54a301e3b99557c3ed.tar.gz
MultiMC-4133247bff3c4d2e51bc2d54a301e3b99557c3ed.tar.lz
MultiMC-4133247bff3c4d2e51bc2d54a301e3b99557c3ed.tar.xz
MultiMC-4133247bff3c4d2e51bc2d54a301e3b99557c3ed.zip
NOISSUE and even more warnings gone
Diffstat (limited to 'api/logic/java/JavaUtils.cpp')
-rw-r--r--api/logic/java/JavaUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/logic/java/JavaUtils.cpp b/api/logic/java/JavaUtils.cpp
index deea5953..0c2e72d7 100644
--- a/api/logic/java/JavaUtils.cpp
+++ b/api/logic/java/JavaUtils.cpp
@@ -94,7 +94,7 @@ QList<JavaInstallPtr> JavaUtils::FindJavaFromRegistryKey(DWORD keyType, QString
// Iterate until RegEnumKeyEx fails
if (numSubKeys > 0)
{
- for (int i = 0; i < numSubKeys; i++)
+ for (DWORD i = 0; i < numSubKeys; i++)
{
subKeyNameSize = 255;
retCode = RegEnumKeyEx(jreKey, i, subKeyName, &subKeyNameSize, NULL, NULL, NULL,