View Full Version : warning for ABMultiValueCreateMutable

Aug 25, 2008, 12:51 AM
Hello all,
I am add label for emaiaddress,address,etc.It is work or Home label in iPhone simulator contacts.
I write
ABMutableMultiValueRef multiValue = ABMultiValueCreateMutable(kABHomeLabel);
It create label but,
It give me warnig:passing argument 1 of 'ABMultiValueCreateMutable' makes integer from pointer without a cast.

How to remove i this warninig?..

Thank you..

Aug 25, 2008, 01:00 AM
EDIT: Whoops nevermind.

Aug 25, 2008, 02:35 AM
You are using the incorrect parameter. The documentation gives you a list of the correct values you can use: search for "ABPropertyType" and then click on "Record Property Types".