Added a missing (uint) cast to a SetData