Core buildfix

This commit is contained in:
Ethan Lee 2017-10-19 12:36:51 -04:00
parent 795db4433d
commit 2c3515f458

View file

@ -66,7 +66,7 @@ namespace SDL2
#if NETSTANDARD2_0
/* Modern C# lets you just send the byte*, nice! */
string result = System.Text.Encoding.UTF8.GetString(
bytes,
(byte*) s,
(int) (ptr - (byte*) s)
);
#else