Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call
g_utf8_to_utf16
with a proper argument (mono/mono#5470)
* The sizes of `glong` and `gsize` differ on 64-bit Windows. * In order to avoid uninitialized data in the high four bytes of the `bytes` argument to `mono_unicode_from_external`, call `g_utf8_to_utf16` with a `glong`, then copy the result. Commit migrated from mono/mono@ee6f896
- Loading branch information