Sorry I copy bad

when I wanted to write "#define uchar unsigned char" but I did
"#define uchar unsigned char *"

On 23/02/07, Martin Jenkins <[EMAIL PROTECTED]> wrote:
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]
-----------------------------------------------------------------------------




--
Cesar Rodas
http://www.sf.net/projects/pagerank (The PageRank made easy...)
http://www.sf.net/projects/fastfs ( The Fast File System)
Mobile Phone: 595 961 974165
Phone: 595 21 645590
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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

Reply via email to