>Nope, something that only caused a warning 3.4.3 is not valid code >in 4.0 > > OK, thx. I've changed this code myself, but Your sollution looks a little bit nicer. By the way I still can't get why: Casted lvalues aren't allowed any longer. So change the code to not require the lefthand cast at all.