Fix type mismatch in split(1)

Adapted from a patch sent by Random832.
1 file changed