Skip to content

Commit

Permalink
Merge pull request #282 from barnson/vs2015_rtm
Browse files Browse the repository at this point in the history
Fix build break with VS2015 RTM
  • Loading branch information
robmen committed Aug 11, 2015
2 parents f26643d + acd7598 commit f2668c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/UnitTests/Burn/ElevationTest.cpp
Expand Up @@ -147,7 +147,7 @@ static DWORD CALLBACK ElevateTest_ThreadProc(
StrAlloc(&connection.sczSecret, MAX_PATH);

// parse command line arguments
if (3 != swscanf_s(sczArguments, L"-q -burn.elevated %s %s %u", connection.sczName, MAX_PATH, connection.sczSecret, MAX_PATH, &connection.dwProcessId, sizeof(connection.dwProcessId)))
if (3 != swscanf_s(sczArguments, L"-q -burn.elevated %s %s %u", connection.sczName, MAX_PATH, connection.sczSecret, MAX_PATH, &connection.dwProcessId))
{
hr = E_INVALIDARG;
ExitOnFailure(hr, "Failed to parse argument string.");
Expand Down

0 comments on commit f2668c0

Please sign in to comment.