I'm writing a C code that use the following method:
DrawAnnotation(d_wand,x,y,(const unsigned char *) member_list->callername), where member_list is data structure with char* callername field.
When i run the program I get the following error:
Code: Select all
asterisk: wand/drawing-wand.c:770: DrawAnnotation: Assertion `text != (const unsigned char *) ((void *)0)' failed.
fprintf(file,"CallerName %s, member_list->callername);
Can you help me?
Thank you in advance