Convert lineno to int