Correct a cast in the Octave module.