Adding explicit casts and #pragma ignore to fix warnings about out-of-range enumerated type value assignment
Resolve compiler warning about "Values of type 'NSUInteger' should not be used as format arguments; add an explicit cast to 'unsigned long' instead"