Re: Set string value
Re: Set string value
- Subject: Re: Set string value
- From: "I. Savant" <email@hidden>
- Date: Wed, 9 Jul 2008 16:15:44 -0400
> int *stringLength = [string length]; //warning: initialization makes
> pointer from integer without a cast
You're declaring an int pointer (int *) instead of an int (int),
then assigning it an int value (the result of asking 'string' for its
-length).
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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