warning for ABMultiValueCreateMutable

Discussion in 'iOS Programming' started by diyora, Aug 24, 2008.

  1. macrumors newbie

    Jul 21, 2008
    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..
  2. macrumors 68040

    Apr 22, 2005
  3. Moderator emeritus


    Jun 15, 2000
    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".

Share This Page