error: invalid conversion from 'const void*' to 'const unsigned char*'
const void *data;
const unsigned char *sp = data;
Please modify to
const unsigned char *sp = static_cast< const unsigned char* >
Or,
void *resbuf;
uint8_t *hval = resbuf;
Please modify to
uint8_t *hval = static_cast< uint8_t * >
Then you gen pass compiler.
Refer from following,
http://discussion.forum.nokia.com/forum/showthread.php?152300-Open-C-syntax-problem-for-invalid-conversion
http://www.velocityreviews.com/forums/t456262-cannot-convert-const-void-to-const-char-in-c.html
1 comment:
Great article! Very helpful for readers looking for clear insights. For those interested in skill development, check out best training institute in Chennai offering quality courses. Helpful information about best guest posting sites.
Post a Comment