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

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Shaw <anthony.p.shaw@gmail.com>2021-05-12 16:38:31 +0300
committerGitHub <noreply@github.com>2021-05-12 16:38:31 +0300
commit0b844a567f5fe6bd9d47b5c3ecf000998183fcb4 (patch)
tree1862fd98f73c774ddbed7de90351a0049f722fbc /src/coreclr/inc
parent1dc5010cbba4729235179c0f3eda01bd11053e2e (diff)
Use of WCHAR in `corinfo.h` leaves consumer with dependency on pal_mstypes/windows.h (#52630)
* WCHAR usage leaves dependency on <windows.h>/pal_mstypes * Cast on return
Diffstat (limited to 'src/coreclr/inc')
-rw-r--r--src/coreclr/inc/corinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coreclr/inc/corinfo.h b/src/coreclr/inc/corinfo.h
index 2bb72a8243b..6f5b9608745 100644
--- a/src/coreclr/inc/corinfo.h
+++ b/src/coreclr/inc/corinfo.h
@@ -1817,7 +1817,7 @@ struct CORINFO_Object
struct CORINFO_String : public CORINFO_Object
{
unsigned stringLen;
- WCHAR chars[1]; // actually of variable size
+ char16_t chars[1]; // actually of variable size
};
struct CORINFO_Array : public CORINFO_Object