Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordotnet-bot <dotnet-bot@microsoft.com>2016-02-26 02:57:59 +0300
committerdotnet-bot <dotnet-bot@microsoft.com>2016-02-26 02:57:59 +0300
commit0a25ceae5826f4f8a49317a9976ef3dae68cad76 (patch)
tree9befaabbc2ac380f4939e58205df0da3938b87bd /src/Native/Runtime/RhConfig.cpp
parent1e3dae777d242a8b73a3c8008182d82a850d434f (diff)
Fix some Prefast issues under ndp\rh and ndp\FxCore\CoreRT.
Bug: https://devdiv.visualstudio.com/web/wi.aspx?pcguid=011b8bdf-6d56-4f87-be0d-0092136884d9&id=195206 [tfs-changeset: 1578980]
Diffstat (limited to 'src/Native/Runtime/RhConfig.cpp')
-rw-r--r--src/Native/Runtime/RhConfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Native/Runtime/RhConfig.cpp b/src/Native/Runtime/RhConfig.cpp
index 559f4fc20..29b8771ae 100644
--- a/src/Native/Runtime/RhConfig.cpp
+++ b/src/Native/Runtime/RhConfig.cpp
@@ -70,7 +70,7 @@ UInt32 RhConfig::ReadConfigValue(_In_z_ const WCHAR *wszName, UInt32 uiDefaultVa
//if the file is not avaliable, or unreadable zero will always be returned
//cchOuputBuffer is the maximum number of characters to write to outputBuffer
//cchOutputBuffer must be a size >= CONFIG_VAL_MAXLEN + 1
-UInt32 RhConfig::GetIniVariable(_In_z_ const WCHAR* configName, _Out_writes_all_(cchBuff) WCHAR* outputBuffer, _In_ UInt32 cchOuputBuffer)
+UInt32 RhConfig::GetIniVariable(_In_z_ const WCHAR* configName, _Out_writes_all_(cchOuputBuffer) WCHAR* outputBuffer, _In_ UInt32 cchOuputBuffer)
{
//the buffer needs to be big enough to read the value buffer + null terminator
if (cchOuputBuffer < CONFIG_VAL_MAXLEN + 1)