<<Well, I really REALLY do. That's a nice idiom for shutting up the warning. Thanks. >> It's not just about shutting up the warning, if you write: x = (void *)(size_t)y you are clearly saying to the reader that you understand the issues and that you know what you are doing :-)