Fix type mismatches when passing f32 values to calls