Christian Costa titan.costa@gmail.com wrote:
- if (!name || !size)
if (!name && !size) return E_POINTER;
dxfile_size = *size;
So, what happens if name is not NULL, but size is?
Le 08/05/2013 19:19, Dmitry Timoshkov a écrit :
Christian Costa titan.costa@gmail.com wrote:
- if (!name || !size)
if (!name && !size) return E_POINTER;
dxfile_size = *size;
So, what happens if name is not NULL, but size is?
Indeed I missed this type conversion line and expected IDirectXFile_GetName to handle it. Will send another patch. Thanks!