arduino: Remove unnecessary cast to unsigned long

int is -32768 to 32767