Alejandro Lobo-Guerrero C Posted June 5, 2006 Report Posted June 5, 2006 Mr. Dowson: Hi, we are a sim creators group, and in this moment we make a project with the Colombian Air Force, and the T37 Aircraft. And have a big problem with the light indication in the cockpit, when we lower and upper the gear, because we need the result and when declare the variables have han error that describe the wrong type of them. (pDest *int to *void) Thankful
Pete Dowson Posted June 5, 2006 Report Posted June 5, 2006 ... when declare the variables have han error that describe the wrong type of them. (pDest *int to *void) A void pointer is one which can be cast into a pointer to anything. That's the whole point. Please check your C programming references. If the compiler doesn't do it automatically, try using an explicit case, but it does rather spoil the point of having void pointers in the first place. Regards, Pete
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now