Don't use cast as lvalue