Cast getpid() to a long for output.