Change to use strtoul instead of strtoll.