diff --git a/CUETools.Codecs.MACLib/MACLibDll.cs b/CUETools.Codecs.MACLib/MACLibDll.cs index ac847d40..e80d83c8 100644 --- a/CUETools.Codecs.MACLib/MACLibDll.cs +++ b/CUETools.Codecs.MACLib/MACLibDll.cs @@ -36,7 +36,7 @@ internal static extern IntPtr c_APECIO_Create( internal static extern void c_APECompress_Destroy(IntPtr hAPECompress); [DllImport(DllName, CallingConvention = DllCallingConvention)] - internal static extern int c_APECompress_Finish(IntPtr hAPECompress, char* pTerminatingData, int nTerminatingBytes, int nWAVTerminatingBytes); + internal static extern int c_APECompress_Finish(IntPtr hAPECompress, byte* pTerminatingData, long nTerminatingBytes, long nWAVTerminatingBytes); [DllImport(DllName, CallingConvention = DllCallingConvention)] internal static extern long c_APECompress_AddData(IntPtr hAPECompress, byte* pData, int nBytes);