Core buildfix

pull/119/head
Ethan Lee 2017-10-19 12:36:51 -04:00
parent 795db4433d
commit 2c3515f458
1 changed files with 1 additions and 1 deletions

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