warning for ABMultiValueCreateMutable

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

  1. macrumors newbie

    Joined:
    Jul 21, 2008
    #1
    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

    Joined:
    Apr 22, 2005
  3. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #3
    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