I am getting many many warnings of this kind in my code. It comes every time I typecast something in my code, which I am doing to variable addresses in order to use integer arithmetic on them. How do I fix these warnings? Thank you!
and warning is :
send_serv.c:78: warning: cast to pointer from integer of different size
char *c=(char *)lid2pstr(t->source,j.location_num,t->sourcef);