Casting scl to int.