pointer -> long conversion

Terrence C. Miller miller at saturn.UUCP
Wed Jul 11 10:40:37 AEST 1984


The ANSI standard (the last I time looked) defined pointer comparison to
be unsigned, and I suspect most of us regard memory addresses as unsigned.
Thus pointers should be extended like unsigned numbers (i.e zero filled).



More information about the Comp.lang.c mailing list