Warning message is: -------------------- load.c:64: warning: assignment from incompatible pointer type My structure is: ---------------- struct czor_d { unsigned int spamcount; time_t spamtime; char sha1txt [40]; unsigned int hamcount; time_t hamtime; }; I set a pointer --------------- struct czor_d *p; I want to set 'p' pointer to equal the same as data.dptr (which is a char *) I use: ------ p = data.dptr;