warnings regarding typecasting

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

  1. ashwinikuma

    ashwinikuma New Member

    Joined:
    Aug 28, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice