• 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
Re: Compiler Warnings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiler Warnings


  • Subject: Re: Compiler Warnings
  • From: King Chung Huang <email@hidden>
  • Date: Sat, 28 Apr 2007 09:10:11 -0600

This should work:

static io_iterator_t	gAddedIter = 0;

King Chung Huang

On 28-Apr-07, at 4:16 AM, David Wilson wrote:

Hello team...

For what ever reason, I have the following line of code....

static io_iterator_t			gAddedIter = NULL;


It's giving the following compiler warning... warning: initialization makes integer from pointer without a cast


What's the best way to fix this?


- David



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Compiler Warnings (From: David Wilson <email@hidden>)

  • Prev by Date: Re: Any way to find out user's default email client?
  • Next by Date: NSTextView's "data" binding
  • Previous by thread: Compiler Warnings
  • Next by thread: Rotating an NSView before printing
  • Index(es):
    • Date
    • Thread