Cesar Rodas wrote:

> #define uchar unsigned char *

suggests it's a char but is in fact a pointer to a char so the signature of LoadFileContent is actually

int LoadFileContent(unsigned char **path, unsigned char ***value, ...

and that triggers my "three levels of indirection is usually an error" alarm. You want

> #define uchar unsigned char /* no asterisk here */

or even better

typedef unsigned char uchar;

Martin

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to