I am removing gcc warnings from a legacy code.
Is it possible to suppress the warning "cast to pointer from integer of different size" through typecasting:
example:
some_struct *ptr = func() // func() returns an integer.
Can someone please guide me how to resolve such gcc warnings?