from CFDataRef to NSString
from CFDataRef to NSString
- Subject: from CFDataRef to NSString
- From: Angelo Chen <email@hidden>
- Date: Tue, 10 Jun 2008 03:08:18 -0700 (PDT)
Hi,
What is the correct way to cast from CFDataRef to NSString, I have this code:
CFDataRef data;
NSString *messageString = [NSString stringWithCString:CFDataGetBytePtr(data)];
it always return this warning, any idea?
warning:pointer targets in passing argument 1 of 'stringWithCString:' differ in signedness
Thanks
Yahoo! Mail具備一流的網上安全保護功能,請前往 http://hk.antispam.yahoo.com/ 了解更多相關資訊!
_______________________________________________
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