summaryrefslogtreecommitdiff
path: root/src/utilcode
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2019-01-02 04:46:32 -1000
committerGitHub <noreply@github.com>2019-01-02 04:46:32 -1000
commita082f4702540309e832c2ebdf86b15dc798b136b (patch)
treee79301329d1645563f39bba239bc03ac00e447b2 /src/utilcode
parentd26e31a51d3a97ac925240c134d08418911c457d (diff)
downloadcoreclr-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.cpp2
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)));
}