Fix whitespace & casting regression introduced in SHA: f9228dd