On Monday 01 October 2001 08:20 am, Gibbs Tanton - tgibbs wrote: > Casting to IV doesn't actually hurt anything (unless there is an alignment > issue); however, casting to char* is the more idiomatic way of doing it. > I'll commit this unless Simon says he is going to handle it in "The Great > Renaming".
Casting from a pointer to a non-pointer and back isn't guaranteed. (The only non-pointer guaranteed to be safely cast to a pointer is '0', although I'll admit I can't find a platform where any of this is an issue. For me, though, it was more of a size issue. An IV isn't necessarily the same size as a pointer.) -- Bryan C. Warnock [EMAIL PROTECTED]