Adds an explicit cast to unsigned long