call to revolt

Georg Wittig wittig at gmdzi.gmd.de
Wed Jun 26 18:08:34 AEST 1991


rabson at physics.ubc.ca (David Rabson) writes:


>		void *thing;
>		((int *)thing)++;

Why don't you write

	(*((int**)&thing))++;}

? gcc thinks it's o.k.
-- 
Georg Wittig   GMD-Z1.IT   P.O.Box 1240 | "Freedom's just another word
D-W-5205 St. Augustin 1	   (Germany)	|  for nothing left to lose"
email:		wittig at gmdzi.gmd.de	| (from "Me and Bobby McGee",
telephone:	(+49) 2241 14-2294	|  Janis Joplin, Kris Kristofferson)



More information about the Comp.std.c mailing list