Il giorno 21/ago/08, alle ore 15:42, Stuart Green ha scritto:
const char cUserName = [username UTF8String];
const char cEmail = [email UTF8String];
However, come the build, I get
warning: initialization makes integer from pointer without a cast
I thought I was doing everything right. Any ideas?
const char *cUserName = [username UTF8String];
UTF8String returns a pointer to a string (char *), not a single byte
(char)
--
Simone Tellini
http://tellini.info
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]