Don't cast away const / use c style cast