Commit f2e47cc2 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

rpcrt4: Fix typo in unescape_string_binding_componentW.

string_binding is of type "const WCHAR *" so we shouldn't be calling strlen on it, we should be calling strlenW on it.
parent 170dd5ff
...@@ -435,7 +435,7 @@ static RPC_WSTR unescape_string_binding_componentW( ...@@ -435,7 +435,7 @@ static RPC_WSTR unescape_string_binding_componentW(
{ {
RPC_WSTR component, p; RPC_WSTR component, p;
if (len == -1) len = strlen((const char *)string_binding); if (len == -1) len = strlenW(string_binding);
component = HeapAlloc(GetProcessHeap(), 0, (len + 1) * sizeof(*component)); component = HeapAlloc(GetProcessHeap(), 0, (len + 1) * sizeof(*component));
if (!component) return NULL; if (!component) return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment