Use castUp<T> instead of reinterpret_cast where possible