1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

warnings regarding typecasting

Discussion in 'C' started by ashwinikuma, Aug 28, 2010.

  1. ashwinikuma

    ashwinikuma New Member

    Aug 28, 2010
    Likes Received:
    Trophy Points:
    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);

Share This Page