Use %tu instead of cast to unsigned long