diff --git a/csharp/FAudio.cs b/csharp/FAudio.cs index 688b8c572..55f754c63 100644 --- a/csharp/FAudio.cs +++ b/csharp/FAudio.cs @@ -2593,7 +2593,7 @@ int num_samples /* Because, again, why not? */ [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] - public extern static unsafe IntPtr qoa_open_from_memory(char *bytes, uint size, int free_on_close); + public extern static IntPtr qoa_open_from_memory(IntPtr bytes, uint size, int free_on_close); [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] private static extern unsafe IntPtr qoa_open_from_filename(