Re: warning: initialization makes pointer from integer without a cast
Re: warning: initialization makes pointer from integer without a cast
- Subject: Re: warning: initialization makes pointer from integer without a cast
- From: Greg Guerin <email@hidden>
- Date: Fri, 24 Apr 2009 13:57:43 -0700
Sandy Santra wrote:
NSString *processIdentifier = [[NSProcessInfo processInfo]
processIdentifier]; //Line 2 (must be a better way!)
Look at the type of processIdentifier. Is it the same as the type
returned?
Documentation says the method for the ID is "- (int)
processIdentifier" but I don't know how to work that into this code.
You don't know how to use an int?
int processIdentifier = [[NSProcessInfo processInfo]
processIdentifier];
I suggest a review of the basics. Or maybe less caffeine.
-- GG
_______________________________________________
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