diff options
author | Jan Kotas <jkotas@microsoft.com> | 2019-01-02 04:46:32 -1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-02 04:46:32 -1000 |
commit | a082f4702540309e832c2ebdf86b15dc798b136b (patch) | |
tree | e79301329d1645563f39bba239bc03ac00e447b2 /src/utilcode | |
parent | d26e31a51d3a97ac925240c134d08418911c457d (diff) | |
download | coreclr-a082f4702540309e832c2ebdf86b15dc798b136b.tar.gz coreclr-a082f4702540309e832c2ebdf86b15dc798b136b.tar.bz2 coreclr-a082f4702540309e832c2ebdf86b15dc798b136b.zip |
Delete lstrlen from Unix PAL (#21745)
strlen/wcslen works just fine.
Diffstat (limited to 'src/utilcode')
-rw-r--r-- | src/utilcode/guidfromname.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utilcode/guidfromname.cpp b/src/utilcode/guidfromname.cpp index 3a6878305e..4919bea6fd 100644 --- a/src/utilcode/guidfromname.cpp +++ b/src/utilcode/guidfromname.cpp @@ -232,5 +232,5 @@ void CorGuidFromNameW pGuidResult, COMPLUS_RUNTIME_GUID, wzName, - (DWORD)((cchName == (SIZE_T) -1 ? (lstrlenW(wzName)+1) : cchName) * sizeof(WCHAR))); + (DWORD)((cchName == (SIZE_T) -1 ? (wcslen(wzName)+1) : cchName) * sizeof(WCHAR))); } |