• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
invalid conversion from void* to void**
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

invalid conversion from void* to void**


  • Subject: invalid conversion from void* to void**
  • From: Alfred Van Hoek <email@hidden>
  • Date: Fri, 6 Oct 2006 23:58:16 -0400

Might be trivial, but what used to compile does not anymore:


Given:

    IOFireWireAVCLibUnitInterface** avcUnit;

   

    // ask for the AVC unit interface
    result = (*interface)->QueryInterface( interface,
    CFUUIDGetUUIDBytes( kIOFireWireAVCLibUnitInterfaceID ),
    (LPVOID)&avcUnit );

The compiler chokes on (LPVOID)&avcUnit. This is how it should be called though, (LPVoid)avcUnit will lead to a crash. Any pointers?

Allfred
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: invalid conversion from void* to void**
      • From: Chris Hanson <email@hidden>
    • Re: invalid conversion from void* to void**
      • From: "Marc Wan" <email@hidden>
  • Prev by Date: Re: Finding jnilib on Xcode (that's linked to dylib file)
  • Next by Date: Re: OpenGL error
  • Previous by thread: Re: Compiling different prefix headers based on i386 or ppc?
  • Next by thread: Re: invalid conversion from void* to void**
  • Index(es):
    • Date
    • Thread