diff options
author | Anthony Shaw <anthony.p.shaw@gmail.com> | 2021-05-12 16:38:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-12 16:38:31 +0300 |
commit | 0b844a567f5fe6bd9d47b5c3ecf000998183fcb4 (patch) | |
tree | 1862fd98f73c774ddbed7de90351a0049f722fbc /src/coreclr/inc | |
parent | 1dc5010cbba4729235179c0f3eda01bd11053e2e (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.h | 2 |
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 |