From: Paul Brannan Date: 2003-10-22T00:31:42+09:00 Subject: Re: OT: Strict typing on large projects On Tue, Oct 21, 2003 at 03:44:22AM +0900, Dan Sugalski wrote: > Function calls are a form of cast, albeit a hidden one, and the trick > you're using here isn't actually valid on all processors. You can do this > with any function as long as the body and use of that function differs in > type. I think you misunderstood what I was saying. The call to printf() is not important except to display the value of y; my point was that assigning a void* to an int is perfectly valid C code (though the value that the int will have after the assignment is implementation-dependent). Paul