diff options
Diffstat (limited to 'tools/configure/environment.cpp')
-rw-r--r-- | tools/configure/environment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/configure/environment.cpp b/tools/configure/environment.cpp index d733165271..81769aa043 100644 --- a/tools/configure/environment.cpp +++ b/tools/configure/environment.cpp @@ -347,7 +347,7 @@ int Environment::execute(QStringList arguments, const QStringList &additionalEnv if (envStrings) { int strLen = 0; for (LPWSTR envString = envStrings; *(envString); envString += strLen + 1) { - strLen = wcslen(envString); + strLen = int(wcslen(envString)); QString str = QString((const QChar*)envString, strLen); if (!str.startsWith("=")) { // These are added by the system int sepIndex = str.indexOf('='); |