i'm using CFArrayBSearchValues
.
Ref: http://developer.apple.com/library/mac/documentation/CoreFoundation/Reference/CFArrayRef/Reference/reference.html#//apple_ref/doc/uid/20001192-CH201-F10956
It works successfully but compiler show me a warning on first parameter:
CFIndex indexResult = CFArrayBSearchValues(
m_Locations,
CFRangeMake(0, [m_Locations count]),
data,
PGPlaceDataCompare, nil);
CFArrayBSearch
expect as first parameter an CFArrayRef
.
My m_Locations
is an NSMutableArray
.
How to resolve this warning? I need to do any cast to NSMutableArray to CFArrayRef?
thanks.