Fixed unsigned long warning.