Add explicit cast; Fix indentation