Merge pull request #5907 from mcktr/fix/check-swap-build-error

Windows plugin check_swap build fix
This commit is contained in:
Jean Flach 2017-12-24 18:41:39 +01:00 committed by GitHub
commit 619266bf97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ INT printOutput(printInfoStruct& printInfo)
return state; return state;
} }
INT check_swap(printInfoStruct& printInfo INT check_swap(printInfoStruct& printInfo)
{ {
MEMORYSTATUSEX MemBuf; MEMORYSTATUSEX MemBuf;
MemBuf.dwLength = sizeof(MemBuf); MemBuf.dwLength = sizeof(MemBuf);

View File

@ -114,7 +114,7 @@ std::wstring threshold::pString(CONST DOUBLE max)
upperAbs = upper / 100.0 * max; upperAbs = upper / 100.0 * max;
} }
std::wstring s, lowerStr = removeZero(lowerAbs) std::wstring s, lowerStr = removeZero(lowerAbs),
upperStr = removeZero(upperAbs); upperStr = removeZero(upperAbs);
if (lower != upper) { if (lower != upper) {