diff options
author | Lakshmi Priya Sekar <lasekar@microsoft.com> | 2015-08-25 16:19:37 -0700 |
---|---|---|
committer | Lakshmi Priya Sekar <lasekar@microsoft.com> | 2015-08-25 16:27:45 -0700 |
commit | 034d1a61e8ac83d3b91819f7a19d7cb34e2902d3 (patch) | |
tree | 546d3bdadf61ccf62ce438d4a2c8b91632c2ae0c /src/vm/corhost.cpp | |
parent | 0d618e6dea1c8582e76b043b0d454de1b80e092e (diff) | |
download | coreclr-034d1a61e8ac83d3b91819f7a19d7cb34e2902d3.tar.gz coreclr-034d1a61e8ac83d3b91819f7a19d7cb34e2902d3.tar.bz2 coreclr-034d1a61e8ac83d3b91819f7a19d7cb34e2902d3.zip |
Replace MAX_PATH with new defines in vm.
Diffstat (limited to 'src/vm/corhost.cpp')
-rw-r--r-- | src/vm/corhost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/corhost.cpp b/src/vm/corhost.cpp index 2e8d5aa4b7..451043fc45 100644 --- a/src/vm/corhost.cpp +++ b/src/vm/corhost.cpp @@ -6774,7 +6774,7 @@ HRESULT CCLRErrorReportingManager::SetApplicationData(ApplicationDataKey key, WC if(g_fEEStarted) return HOST_E_INVALIDOPERATION; - if (pValue == NULL || wcslen(pValue) > MAX_PATH) + if (pValue == NULL || wcslen(pValue) > MAX_LONGPATH) return E_INVALIDARG; HRESULT hr = S_OK; |